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.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |