ProductReviewSchema::get_item_response( WP_Comment $review )
Convert a WooCommerce product into an object suitable for the response.
Description Description
Parameters Parameters
- $review
-
(Required) Product review object.
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductReviewSchema.php