woocommerce_rest_prepare_product_review

woocommerce_rest_prepare_product_review

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_product_review') is found 3 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php line 469
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Comment       $review   Product review object used to create response.
    		 * @param WP_REST_Request  $request  Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );
    	}
    
    	/**
    	 * Prepare a single product review to be inserted into the database.
    	 *
    	 * @param  WP_REST_Request $request Request object.
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php line 108
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Comment       $review   Product review object used to create response.
    		 * @param WP_REST_Request  $request  Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );
    	}
    
    
    	/**
    	 * Bulk create, update and delete items.
    	 *
    
  • /includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php line 751
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Comment       $review   Product review object used to create response.
    		 * @param WP_REST_Request  $request  Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );
    	}
    
    	/**
    	 * Prepare a single product review to be inserted into the database.
    	 *
    	 * @param  WP_REST_Request $request Request object.