Source file: modules/copy-post.php
View in GitHubParameters
- $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