W3cubDocs

/WordPress

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

Filters whether the logged in cookie should only be sent over HTTPS.

Parameters

$secure_logged_in_cookie

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

$user_id

(int) User ID.

$secure

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

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_logged_in_cookie