WC_REST_Product_Reviews_Controller::get_review( int $id )
Get the reivew, if the ID is valid.
Description Description
Parameters Parameters
- $id
-
(Required) Supplied ID.
Return Return
(WP_Comment|WP_Error) Comment object if ID is valid, WP_Error otherwise.
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |