WordPress开发者和主题制作者的搜索引擎



rest_delete_user ›

Since4.7.0
已弃用n/a
do_action( 'rest_delete_user', $user, $response, $request )
参数: (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
定义在:
文档:

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





源码

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