jetpack_copy_post, $source_post, $target_post_id, $update_results

jetpack_copy_post, $source_post, $target_post_id, $update_results

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_copy_post, $source_post, $target_post_id, $update_results') is found 1 times:

  • /modules/copy-post.php line 125
    		 * @param WP_Post $source_post Post object that was copied.
    		 * @param int     $target_post_id Target post ID.
    		 * @param array   $update_results Results of all update operations, allowing action to be taken.
    		 */
    		do_action( 'jetpack_copy_post', $source_post, $target_post_id, $update_results );
    	}
    
    	/**
    	 * Determine if the current user has edit access to the source post.
    	 *
    	 * @param int $post_id Source post ID (the post being copied).