LLMS_HTTPS::unforce_https_redirect()
Redirect back to http when not on checkout if force ssl is enabled and the site isn’t fully ssl’d
Return Return
(void)
Source Source
File: includes/class.llms.https.php
98 99 100 101 102 103 104 105 106 107 108 109 | public function unforce_https_redirect() { if ( ! llms_is_site_https() && is_ssl() && ! is_llms_checkout() & ! is_llms_account_page() && ! llms_is_ajax() && apply_filters( 'llms_unforce_ssl_checkout' , true ) ) { llms_redirect_and_exit( $this ->get_force_redirect_url( false ), array ( 'status' => 301, ) ); } } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.35.1 | Sanitize $_SERVER input. |
3.10.0 | Unknown |
3.0.0 | Introduced. |