apply_filters( 'secure_auth_cookie', bool $secure , int $user_id )
Filters whether the auth cookie should only be sent over HTTPS.
Parameters
- $secure
-
Whether the cookie should only be sent over HTTPS.
- $user_id
-
User ID.
Source
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |