WC_REST_Product_Reviews_Controller::prepare_status_response( string|int $comment_approved )

Checks comment_approved to set comment status for single comment output.


Description Description


Parameters Parameters

$comment_approved

(Required) comment status.


Top ↑

Return Return

(string) Comment status.


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.