Description
Filters whether the auth cookie should only be sent over HTTPS.
Occurrences
Filename | Line Number |
---|---|
wp-includes/pluggable.php | 1010 |
Parameters
Type | Name | Description |
---|---|---|
bool | $secure | Whether the cookie should only be sent over HTTPS. |
int | $user_id | User ID. |
PHP Doc
/**
* Filters whether the auth cookie should only be sent over HTTPS.
*
* @since 3.1.0
*
* @param bool $secure Whether the cookie should only be sent over HTTPS.
* @param int $user_id User ID.
*/