wpseek.com
A WordPress-centric search engine for devs and theme authors



password_reset_key_expired › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( 'password_reset_key_expired', $return, $user_id )
Parameters: (2)
  • () return A WP_Error object denoting an expired key. Return a WP_User object to validate the key.
    Required: Yes
  • () user_id The matched user ID.
    Required: Yes
Defined at:
Codex:

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

Prior to 3.7, plain-text keys were stored in the database.




Source

return apply_filters( 'password_reset_key_expired', $return, $user_id );