lost_password

动作钩子


do_action( 'lost_password', $errors )
参数
  • (WP_Error)
    $errors
    A `WP_Error` object containing any errors generated by using invalid
    credentials. Note that the error object may not contain any errors.
    Required:
定义位置
  • wp-login.php
    , line 820
引入
5.1.0
弃用

Fires before the lost password form.

do_action( 'lost_password', $errors );