auth_cookie_bad_username
do_action( ‘auth_cookie_bad_username’, string[] $cookie_elements )
动作钩子::如果在用户身份验证过程中输入了错误的用户名,则激发。
Action Hook: Fires if a bad username is entered in the user authentication process.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$cookie_elements | (string[]) | 身份验证cookie的数据数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-includes/pluggable.php:657 | 1 | 0 |
auth_cookie_bad_username 为WP2原创文章,链接:https://www.wp2.cn/hook/auth_cookie_bad_username/