WordPress at Your Fingertips
action is not described

woocommerce_rest_delete_(post_type) action-hook . WC 1.0

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

Usage

add_action( 'woocommerce_rest_delete_(post_type)', 'action_function_name_5791', 10, 3 );
function action_function_name_5791( $post, $response, $request ){
	// action...
}
$post(object)
The deleted or trashed item.
$response(WP_REST_Response)
The response data.
$request(WP_REST_Request)
The request sent to the API.

Where the hook is called

WC_REST_Posts_Controller::delete_item()
woocommerce_rest_delete_(post_type)
WC_REST_Products_V1_Controller::delete_item()
woocommerce_rest_delete_(post_type)
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php 477
do_action( "woocommerce_rest_delete_{$this->post_type}", $post, $response, $request );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php 1720
do_action( "woocommerce_rest_delete_{$this->post_type}", $post, $response, $request );

Where in WP core the hook is used WooCommerce

Usage not found.