WordPress at a glance
action is not described

rest_delete_(post_type) action-hook . WP 4.7.0

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

They dynamic portion of the hook name, $this->post_type, refers to the post type slug.

Usage

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

Changelog

Since 4.7.0 Introduced.

Where the hook is called

WP_REST_Posts_Controller::delete_item()
rest_delete_(post_type)
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 965
do_action( "rest_delete_{$this->post_type}", $post, $response, $request );

Where in WP core the hook is used WordPress

Usage not found.