WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about password_reset_key_expired

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/user.php apply_filters 3013 /**
* Filters the return value of check_password_reset_key() when an
* old-style key is used.
*
* @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.
*
* @param WP_Error $return A WP_Error object denoting an expired key.
* Return a WP_User object to validate the key.
* @param int $user_id The matched user ID.
*/

Hook Parameters

Parameter Type Name Description
WP_Error $return A WP_Error object denoting an expired key.
int $user_id The matched user ID.