ProductReviews
REST API Product Reviews controller class.
Description Description
Source Source
File: woocommerce/packages/woocommerce-blocks/src/RestApi/Controllers/ProductReviews.php
Methods Methods
- get_collection_params — Get the query params for collections.
- get_item_schema — Get the Product Review's schema, conforming to JSON Schema.
- get_items — Get all reviews.
- get_items_permissions_check — Check if a given request has access to read the attributes.
- normalize_query_param — Prepends internal property prefix to query parameters to match our response fields.
- prepare_item_for_response — Prepare a single product review output for response.
- register_routes — Register the routes for product reviews.