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



password_reset_key_expired › WordPress过滤钩子

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

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





源码

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