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)


Top ↑

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,
            )
        );
    }
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.35.1 Sanitize $_SERVER input.
3.10.0 Unknown
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.