jetpack_copy_post_data, $data, $source_post, $target_post_id

jetpack_copy_post_data, $data, $source_post, $target_post_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_copy_post_data, $data, $source_post, $target_post_id') is found 1 times:

  • /modules/copy-post.php line 173
    		 * @param array $data Post data with which to update the target (new) post.
    		 * @param WP_Post $source_post Post object being copied.
    		 * @param int     $target_post_id Target post ID.
    		 */
    		$data = apply_filters( 'jetpack_copy_post_data', $data, $source_post, $target_post_id );
    		return wp_update_post( wp_slash( $data ) );
    	}
    
    	/**
    	 * Update terms for post types.
    	 *