password_reset_key_expired

password_reset_key_expired

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('password_reset_key_expired') is found 1 times:

  • /wp-includes/user.php line 3090
    3086
    3087
    3088
    3089
    3090
    3091
    3092
    3093
    3094
    3095
    3096
             * @param WP_Error $return  A WP_Error object denoting an expired key.
             *                          Return a WP_User object to validate the key.
             * @param int      $user_id The matched user ID.
             */
            return apply_filters( 'password_reset_key_expired', $return, $user_id );
        }
     
        return new WP_Error( 'invalid_key', __( 'Invalid key.' ) );
    }
     
    /**