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



auth_cookie_bad_username › WordPress动作钩子

Since2.7.0
已弃用n/a
do_action( 'auth_cookie_bad_username', $cookie_elements )
参数:
  • (string[]) $cookie_elements { Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value. @type string $username User's username. @type string $expiration The time the cookie expires as a UNIX timestamp. @type string $token User's session token used. @type string $hmac The security hash for the cookie. @type string $scheme The cookie scheme to use. }
    Required: Yes
定义在:
文档:

Fires if a bad username is entered in the user authentication process.





源码

do_action( 'auth_cookie_bad_username', $cookie_elements );