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

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

$user_id

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