LLMS_Session::use_secure_cookie()
Determine if a secure cookie should be used.
Return Return
(boolean)
Source Source
File: includes/class.llms.session.php
protected function use_secure_cookie() { $secure = llms_is_site_https() && is_ssl(); /** * Determine whether or not a secure cookie should be used for user session data * * @since 4.0.0 * * @param boolean $secure Whether or not a secure cookie should be used. */ return apply_filters( 'llms_session_use_secure_cookie', $secure ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |