Uma área de pesquisa sobre o WordPress para devs e autores do tema



register_post ›

Desde2.1.0
Obsoleton/a
do_action( 'register_post', $sanitized_user_login, $user_email, $errors )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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