jetpack_sync_prevent_sending_post_data, false, $post
jetpack_sync_prevent_sending_post_data, false, $post
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_sync_prevent_sending_post_data, false, $post') is found 1 times:
- /jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php line 714
* * @param boolean false prevent post data from being synced to WordPress.com * @param mixed $post \WP_Post object */ if ( apply_filters( 'jetpack_sync_prevent_sending_post_data', false, $post ) ) { // We only send the bare necessary object to be able to create a checksum. $blocked_post = new \stdClass(); $blocked_post->ID = $post->ID; $blocked_post->post_modified = $post->post_modified; $blocked_post->post_modified_gmt = $post->post_modified_gmt; $blocked_post->post_status = 'jetpack_sync_blocked';