wpseek.com
WordPress开发者和主题制作者的搜索引擎



password_reset_key_expired › WordPress过滤钩子

Since4.3.0
已弃用n/a
› apply_filters( 'password_reset_key_expired', $return, $user_id )
参数: (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
定义在:
文档:

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.




源码

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