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)
  • (WP_Error) $return A WP_Error object denoting an expired key. Return a WP_User object to validate the key.
    Required: Yes
  • (int) $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 is used.





Source

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