lostpassword_errors

lostpassword_errors

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('lostpassword_errors') is found 1 times:

  • /wp-includes/user.php line 3177
    3173
    3174
    3175
    3176
    3177
    3178
    3179
    3180
    3181
    3182
    3183
    * @param WP_Error      $errors    A WP_Error object containing any errors generated
     *                                 by using invalid credentials.
     * @param WP_User|false $user_data WP_User object if found, false if the user does not exist.
     */
    $errors = apply_filters( 'lostpassword_errors', $errors, $user_data );
     
    if ( $errors->has_errors() ) {
        return $errors;
    }
     
    if ( ! $user_data ) {