apply_filters ( 'jetpack_copy_post_data', array $data, WP_Post $source_post, int $target_post_id )

Fires just before the target post is updated with its new data.<p>Allows for final data adjustments before updating the target post.</p>

Source file: modules/copy-post.php

View in GitHub

Parameters

$data

(array) Post data with which to update the target (new) post.

$source_post

(WP_Post) Post object being copied.

$target_post_id

(int) Target post ID.


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