recovery_mode_email_link_ttl WordPress Filter Hook
This hook is used to modify the time limit for a password recovery email link. By default, the link expires after 24 hours.
apply_filters( 'recovery_mode_email_link_ttl', int $valid_for ) #
Filters the amount of time the recovery mode email link is valid for.
Description
The ttl must be at least as long as the email rate limit.
Parameters
- $valid_for
(int)The number of seconds the link is valid for.
Source
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |