A WordPress-centric search engine for devs and theme authors



rest_delete_user ›

Since4.7.0
Deprecatedn/a
do_action( 'rest_delete_user', $user, $response, $request )
Parameters: (3)
  • (WP_User) $user The user data.
    Required: Yes
  • (WP_REST_Response) $response The response returned from the API.
    Required: Yes
  • (WP_REST_Request) $request The request sent to the API.
    Required: Yes
Defined at:
Codex:

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





Source

do_action( 'rest_delete_user', $user, $response, $request );