password_reset_key_expired

Advertisement

Summery Summery

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

Syntax Syntax

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

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.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.