LLMS_HTTPS::force_https_redirect()

Redirect to https checkout page is force is enabled


Return Return

(void)


Top ↑

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

	}


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.