wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_after_insert_user › WordPress Action Hooks

Since5.0.0
Deprecatedn/a
do_action( 'rest_after_insert_user', $user, $request, true )
Parameters: (3)
  • (WP_User) $user Inserted or updated user object.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
  • (bool) $creating True when creating a user, false when updating.
    Required: Yes
Defined at:
Codex:

Fires after a user is completely created or updated via the REST API.





Source

do_action( 'rest_after_insert_user', $user, $request, true );