过滤器: secure_auth_cookie
过滤器决定是否仅通过 HTTPS 发送 auth cookie。
Parameters
| Name | Type | Description |
|---|---|---|
| $secure | bool | 是否仅通过 HTTPS 发送 cookie。 |
| $user_id | int | 用户 ID。 |
Since
- 3.1.0
Source
Defined in inc/sso/auth-functions.php at line 80
过滤器决定是否仅通过 HTTPS 发送 auth cookie。
| Name | Type | Description |
|---|---|---|
| $secure | bool | 是否仅通过 HTTPS 发送 cookie。 |
| $user_id | int | 用户 ID。 |
Defined in inc/sso/auth-functions.php at line 80