do_action( 'rest_delete_product_review', object $product_review, WP_REST_Response $response, WP_REST_Request $request )

Fires after a product review is deleted via the REST API.


Description Description


Parameters Parameters

$product_review

The deleted item.

$response

The response data.

$request

The request sent to the API.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.