duplicate_post_pre_copy

duplicate_post_pre_copy

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: duplicate-post.4.5

do_action('duplicate_post_pre_copy') is found 1 times:

  • /admin-functions.php line 583
    	 * @param WP_Post $post      The original post object.
    	 * @param bool    $status    The intended destination status.
    	 * @param int     $parent_id The parent post ID if we are calling this recursively.
    	 */
    	do_action( 'duplicate_post_pre_copy', $post, $status, $parent_id );
    
    	/**
    	 * Filter allowing to copy post.
    	 *
    	 * @param bool    $can_duplicate Default to `true`.
    	 * @param WP_Post $post          The original post object.
    

See this hook used in plugins: