WordPress开发者和主题制作者的搜索引擎



register_post ›

Since2.1.0
已弃用n/a
do_action( 'register_post', $sanitized_user_login, $user_email, $errors )
参数: (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
定义在:
文档:

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





源码

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