WordPress at Your Fingertips
filter is not described

woocommerce_rest_product_review_collection_params filter-hook . WC 3.5.0

Filter collection parameters for the reviews controller.

This filter registers the collection parameter, but does not map the collection parameter to an internal WP_Comment_Query parameter. Use the wc_rest_review_query filter to set WP_Comment_Query parameters.


add_filter( 'woocommerce_rest_product_review_collection_params', 'filter_function_name_462' );
function filter_function_name_462( $params ){
	// filter...

	return $params;
JSON Schema-formatted collection parameters.


Since 3.5.0 Introduced.

Where the hook is called

woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php 1031
return apply_filters( 'woocommerce_rest_product_review_collection_params', $params );

Where in WP core the hook is used WooCommerce

Usage not found.