apply_filters( 'woocommerce_rest_product_review_collection_params', array $params )

Filter collection parameters for the reviews controller.


Description Description

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.


Parameters Parameters

$params

JSON Schema-formatted collection parameters.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.