apply_filters( ‘secure_logged_in_cookie’, bool $secure_logged_in_cookie, int $user_id, bool $secure )

In this article

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

Parameters

$secure_logged_in_cookiebool
Whether the logged in cookie should only be sent over HTTPS.
$user_idint
User ID.
$securebool
Whether the auth cookie should only be sent over HTTPS.

Source

$secure_logged_in_cookie = apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure );

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.