wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
registration_errors › Hooks de Filtros WordPress
Desde2.1.0
Obsoleton/a
› apply_filters( 'registration_errors', $errors, $sanitized_user_login, $user_email )
| Parâmetros: (3) |
|
| Definido em: |
|
| Codex: |
Filters the errors encountered when a new user is being registered.
The filtered WP_Error object may, for example, contain errors for an invalid or existing username or email address. A WP_Error object should always be returned, but may or may not contain errors. If any errors are present in $errors, this will abort the user's registration.Funções relacionadas: wp_registration_url, settings_errors, register_activation_hook, get_settings_errors, register_deactivation_hook, rest_get_combining_operation_error
Hooks relacionados: registration_redirect, rest_authentication_errors, user_registration_email, login_errors, register_form