钩子文档

application_password_failed_authentication

💡 云策文档标注

概述

application_password_failed_authentication 是一个 WordPress Hook,在应用密码认证失败时触发,用于处理认证错误。

关键要点

  • 触发时机:当应用密码认证用户失败时
  • 参数:$error(WP_Error 对象,包含认证错误信息)
  • 相关函数:wp_authenticate_application_password() 用于应用密码认证
  • 引入版本:WordPress 5.6.0

📄 原文内容

Fires when an application password failed to authenticate the user.

Parameters

$errorWP_Error
The authentication error.

Source

do_action( 'application_password_failed_authentication', $error );

Changelog

Version Description
5.6.0 Introduced.