do_action ( 'jetpack_copy_post', WP_Post $source_post, int $target_post_id, array $update_results )

Fires after all updates have been performed, and default content filters have been added.<p>Allows for any cleanup or post operations, and default content filters can be removed or modified.</p>

Source file: modules/copy-post.php

View in GitHub

Parameters

$source_post

(WP_Post) Post object that was copied.

$target_post_id

(int) Target post ID.

$update_results

(array) Results of all update operations, allowing action to be taken.


Changelog

Since: Jetpack 7.0.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s