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.


Top ↑

Return Return

(WP_Comment|WP_Error) Comment object if ID is valid, WP_Error otherwise.


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.