apply_filters( 'rest_product_review_trashable', boolean $supports_trash , WP_Post $product_review )
Filter whether a product review is trashable.
Description Description
Return false to disable trash support for the product review.
Parameters Parameters
- $supports_trash
-
Whether the object supports trashing.
- $product_review
-
The object being considered for trashing support.
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php