do_action( "woocommerce_rest_delete_{$this->post_type}_object", WC_Data $object, WP_REST_Response $response, WP_REST_Request $request )

Fires after a single object is deleted or trashed via the REST API.


Description Description


Parameters Parameters

$object

The deleted or trashed object.

$response

The response data.

$request

The request sent to the API.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php



Top ↑

User Contributed Notes User Contributed Notes

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