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



register_post › WordPress Action Hooks

Since2.1.0
Deprecatedn/a
do_action( 'register_post', $sanitized_user_login, $user_email, $errors )
Parameters: (3)
  • (string) $sanitized_user_login The submitted username after being sanitized.
    Required: Yes
  • (string) $user_email The submitted email.
    Required: Yes
  • (WP_Error) $errors Contains any errors with submitted username and email, e.g., an empty field, an invalid username or email, or an existing username or email.
    Required: Yes
Defined at:
Codex:

Fires when submitting registration form data, before the user is created.





Source

do_action( 'register_post', $sanitized_user_login, $user_email, $errors );