WordPress at a glance
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.

Usage

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

	return $return;
}
$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.

Список изменений

С версии 3.7.0 Введена.
С версии 3.7.0 Previously plain-text keys were stored in the database.
С версии 4.3.0 Previously key hashes were stored without an expiration time.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.