WordPress at a glance
action is not described

rest_delete_user action-hook . WP 4.7.0

Fires immediately after a user is deleted via the REST API.


add_action( 'rest_delete_user', 'action_function_name_2257', 10, 3 );
function action_function_name_2257( $user, $response, $request ){
	// action...
The user 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-users-controller.php 827
do_action( 'rest_delete_user', $user, $response, $request );

Where the hook is used (in WP core)

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