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.1

apply_filters('password_reset_key_expired') is found 1 times:

  • /wp-includes/user.php line 3090
    		 * @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.' ) );
    }
    
    /**