Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



register_post ›

Seit2.1.0
Veraltetn/v
do_action( 'register_post', $sanitized_user_login, $user_email, $errors )
Parameter: (3)
  • (string) $sanitized_user_login The submitted username after being sanitized.
    Erforderlich: Ja
  • (string) $user_email The submitted email.
    Erforderlich: Ja
  • (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.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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