duplicate_post_after_duplicated
duplicate_post_after_duplicated
Appears in: duplicate-post.4.6
Hook Type: action
See hook in action
Displaying hooks found in version: duplicate-post.4.6do_action('duplicate_post_after_duplicated') is found 1 times:
- /admin-functions.php line 743
* @param WP_Post $post The original post object. * @param string $status The status of the new post. * @param string $post_type The post type of the duplicated post. */ do_action( 'duplicate_post_after_duplicated', $new_post_id, $post, $status, $post->post_type ); // Deprecated hooks for backward compatibility. if ( $post->post_type === 'page' || is_post_type_hierarchical( $post->post_type ) ) { do_action_deprecated( 'dp_duplicate_page', [ $new_post_id, $post, $status ], 'Yoast Duplicate Post 4.6', 'duplicate_post_after_duplicated' ); } else {