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



secure_auth_cookie › WordPress过滤钩子

Since3.1.0
已弃用n/a
apply_filters( 'secure_auth_cookie', $secure, $user_id )
参数: (2)
  • (bool) $secure Whether the cookie should only be sent over HTTPS.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
定义在:
文档:

Filters whether the auth cookie should only be sent over HTTPS.





源码

$secure = apply_filters( 'secure_auth_cookie', $secure, $user_id );