WordPress at Your Fingertips
filter is not described

password_reset_key_expired filter-hook . WP 3.7.0

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


add_filter( 'password_reset_key_expired', 'filter_function_name_7540', 10, 2 );
function filter_function_name_7540( $return, $user_id ){
	// filter...

	return $return;
A WP_Error object denoting an expired key. Return a WP_User object to validate the key.
The matched user ID.


Since 3.7.0 Introduced.
Since 3.7.0 Previously plain-text keys were stored in the database.
Since 4.3.0 Previously key hashes were stored without an expiration time.

Where the hook is called

wp-includes/user.php 2684
return apply_filters( 'password_reset_key_expired', $return, $user_id );

Where in WP core the hook is used WordPress

Usage not found.