apply_filters( ‘password_reset_expiration’, int $expiration )

In this article

Filters the expiration time of password reset keys.

Parameters

$expirationint
The expiration time in seconds.

Source

$expiration_duration = apply_filters( 'password_reset_expiration', DAY_IN_SECONDS );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.