wpseek.com
A WordPress-centric search engine for devs and theme authors



secure_logged_in_cookie › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure )
Parameters: (3)
  • (bool) $secure_logged_in_cookie Whether the logged in cookie should only be sent over HTTPS.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
  • (bool) $secure Whether the auth cookie should only be sent over HTTPS.
    Required: Yes
Defined at:
Codex:

Filters whether the logged in 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 );