auth_cookie_bad_session_token

动作钩子


do_action( 'auth_cookie_bad_session_token', $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:
定义位置
  • wp-includes/pluggable.php
    , line 806
引入
4.0.0
弃用

Fires if a bad session token is encountered.

do_action( 'auth_cookie_bad_session_token', $cookie_elements );