WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_delete_user

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php do_action 948 /**
* Fires immediately after a user is deleted via the REST API.
*
* @since 4.7.0
*
* @param WP_User $user The user data.
* @param WP_REST_Response $response The response returned from the API.
* @param WP_REST_Request $request The request sent to the API.
*/

Hook Parameters

Parameter Type Name Description
WP_User $user The user data.
WP_REST_Response $response The response returned from the API.
WP_REST_Request $request The request sent to the API.