auth_cookie_expired

动作钩子


do_action( 'auth_cookie_expired', $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 733
引入
2.7.0
弃用

一旦认证cookie过期就会触发。

do_action( 'auth_cookie_expired', $cookie_elements );
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。