LLMS_HTTPS::force_https_redirect()
Redirect to https checkout page is force is enabled
Return Return
(void)
Source Source
File: includes/class.llms.https.php
public function force_https_redirect() { if ( ! is_ssl() && ( is_llms_checkout() || is_llms_account_page() || apply_filters( 'llms_force_ssl_checkout', false ) ) ) { llms_redirect_and_exit( $this->get_force_redirect_url( true ), 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. |