woocommerce_product_reviews_is_product_review_or_reply

woocommerce_product_reviews_is_product_review_or_reply

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.6.9.0

apply_filters('woocommerce_product_reviews_is_product_review_or_reply') is found 1 times:

  • /src/Internal/Admin/ProductReviews/Reviews.php line 199
    		 *
    		 * @param bool             $is_review_or_reply Whether the object in context is a review or a reply to a review.
    		 * @param WP_Comment|mixed $object             The object in context.
    		 */
    		return (bool) apply_filters( 'woocommerce_product_reviews_is_product_review_or_reply', $is_review_or_reply, $object );
    	}
    
    	/**
    	 * Ajax callback for editing a review.
    	 *
    	 * This functionality is taken from {@see wp_ajax_edit_comment()} and is largely copy and pasted. The only thing