WordPress at Your Fingertips
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_9893', 10, 3 );
function action_function_name_9893( $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 929
do_action( 'rest_delete_user', $user, $response, $request );

Where in WP core the hook is used WordPress

Usage not found.