jetpack_sync_prevent_sending_comment_data, false, $comment

jetpack_sync_prevent_sending_comment_data, false, $comment

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_sync_prevent_sending_comment_data, false, $comment') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-comments.php line 473
    		 *
    		 * @param boolean false prevent post data from bing synced to WordPress.com
    		 * @param mixed $comment WP_COMMENT object
    		 */
    		if ( apply_filters( 'jetpack_sync_prevent_sending_comment_data', false, $comment ) ) {
    			$blocked_comment                   = new \stdClass();
    			$blocked_comment->comment_ID       = $comment->comment_ID;
    			$blocked_comment->comment_date     = $comment->comment_date;
    			$blocked_comment->comment_date_gmt = $comment->comment_date_gmt;
    			$blocked_comment->comment_approved = 'jetpack_sync_blocked';
    			return $blocked_comment;