W3cubDocs

/WordPress

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_forint
The number of seconds the link is valid for.

Source

$valid_for = apply_filters( 'recovery_mode_email_link_ttl', $valid_for );

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/recovery_mode_email_link_ttl