Filters whether the auth cookie should only be sent over HTTPS.
$securebool
$user_idint
$secure = apply_filters( 'secure_auth_cookie', $secure, $user_id );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/secure_auth_cookie