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



user_register › WordPress Action Hooks

Since5.8.0
Deprecatedn/a
do_action( 'user_register', $user_id, $userdata )
Parameters: (2)
  • (int) $user_id User ID.
    Required: Yes
  • (array) $userdata The raw array of data passed to wp_insert_user().
    Required: Yes
Defined at:
Codex:

Fires immediately after a new user is registered.





Source

do_action( 'user_register', $user_id, $userdata );