password_reset_expiration WordPress Filter Hook

The password_reset_expiration hook is fired when the user clicks on the "forgot password" link. This hook allows you to modify the amount of time that the user has to reset their password.

apply_filters( 'password_reset_expiration', int $expiration ) #

Filters the expiration time of password reset keys.


Parameters

$expiration

(int)The expiration time in seconds.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More