W3cubDocs

/WordPress

apply_filters( 'secure_auth_cookie', bool $secure, int $user_id )

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

Parameters

$secure

(bool) Whether the cookie should only be sent over HTTPS.

$user_id

(int) User ID.

Source

File: wp-includes/pluggable.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/secure_auth_cookie