apply_filters( 'password_reset_key_expired', WP_Error $return, int $user_id )

Filters the return value of check_password_reset_key() when an old-style key is used.


Description Description


Parameters Parameters

$return

(WP_Error) A WP_Error object denoting an expired key. Return a WP_User object to validate the key.

$user_id

(int) The matched user ID.


Top ↑

Source Source

File: wp-includes/user.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Previously key hashes were stored without an expiration time.
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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