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



secure_auth_cookie › WordPress Filter Hooks

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

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





Source

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