WordPress at a glance
action is not described

rest_delete_comment action-hook . WP 4.7.0

Fires after a comment is deleted via the REST API.


add_action( 'rest_delete_comment', 'action_function_name_6868', 10, 3 );
function action_function_name_6868( $comment, $response, $request ){
	// action...
The deleted comment data.
The response returned from the API.
The request sent to the API.

Where the hook is called

wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 868
do_action( 'rest_delete_comment', $comment, $response, $request );

Where the hook is used (in WP core)

Использование не найдено.