registration_errors

最后更新于:2021-11-27 21:46:46

apply_filters( ‘registration_errors’, GC_Error $errors, string $sanitized_user_login, string $user_email )

Filters the errors encountered when a new user is being registered.

参数

$errors

(GC_Error)
A GC_Error object containing any errors encountered during registration.

$sanitized_user_login

(string)
User’s username after it has been sanitized.

$user_email

(string)
User’s email.

源文件

文件: gc-includes/user.php

View on Trac