secure_auth_cookie

SummerySummery

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

Syntax

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

ParametersParameters

$secure

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

$user_id

(int) User ID.

SourceSource

File: wp-includes/pluggable.php

ChangelogChangelog

Changelog
Version Description
3.1.0 Introduced.
Scroll to Top