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.


$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 ↑


File: wp-includes/user.php. View all references

return apply_filters( 'password_reset_key_expired', $return, $user_id );

Top ↑


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

Top ↑

User Contributed Notes

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