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.


Top ↑

Parameters

$valid_for

(int)The number of seconds the link is valid for.


Top ↑

Source

File: wp-includes/class-wp-recovery-mode.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.2.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.