register_post

最后更新于:2021-11-27 21:44:53

do_action( ‘register_post’, string $sanitized_user_login, string $user_email, GC_Error $errors )

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

参数

$sanitized_user_login

(string)
The submitted username after being sanitized.

$user_email

(string)
The submitted email.

$errors

(GC_Error)
Contains any errors with submitted username and email, e.g., an empty field, an invalid username or email, or an existing username or email.

源文件

文件: gc-includes/user.php

View on Trac