Outil de recherche WordPress pour les développeurs et auteurs de thèmes



register_post ›

Depuis2.1.0
Dépréciéen/a
do_action( 'register_post', $sanitized_user_login, $user_email, $errors )
Paramètres: (3)
  • (string) $sanitized_user_login The submitted username after being sanitized.
    Requis: Oui
  • (string) $user_email The submitted email.
    Requis: Oui
  • (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.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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