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



validate_password_reset ›

Since3.5.0
已弃用n/a
do_action( 'validate_password_reset', $errors, $user )
参数: (2)
  • (object) $errors WP Error object.
    Required: Yes
  • (WP_User|WP_Error) $user WP_User object if the login and reset key match. WP_Error object otherwise.
    Required: Yes
定义在:
文档:

Fires before the password reset procedure is validated.





源码

do_action( 'validate_password_reset', $errors, $user );