woocommerce_rest_preprocess_product_review

woocommerce_rest_preprocess_product_review

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rest_preprocess_product_review') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php line 805
    		 * @since 3.5.0
    		 * @param array           $prepared_review The prepared review data for `wp_insert_comment`.
    		 * @param WP_REST_Request $request         The current request.
    		 */
    		return apply_filters( 'woocommerce_rest_preprocess_product_review', $prepared_review, $request );
    	}
    
    	/**
    	 * Prepare links for the request.
    	 *
    	 * @param WP_Comment $review Product review object.