wp_authenticate_application_password_errors

动作钩子


do_action( 'wp_authenticate_application_password_errors', $error, $user, $item, $password )
参数
  • (WP_Error)
    $error
    The error object.
    Required:
  • (WP_User)
    $user
    The user authenticating.
    Required:
  • (array)
    $item
    The details about the application password.
    Required:
  • (string)
    $password
    The raw supplied password.
    Required:
定义位置
  • wp-includes/user.php
    , line 416
引入
5.6.0
弃用

Fires when an application password has been successfully checked as valid.

This allows for plugins to add additional constraints to prevent an application password from being used.

do_action( 'wp_authenticate_application_password_errors', $error, $user, $item, $password );