WC_Admin_Notices::is_ssl()

Determine if the store is running SSL.


Description Description


Return Return

(bool) Flag SSL enabled.


Top ↑

Source Source

File: includes/admin/class-wc-admin-notices.php

	protected static function is_ssl() {
		$shop_page = wc_get_page_permalink( 'shop' );

		return ( is_ssl() && 'https' === substr( $shop_page, 0, 5 ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.1 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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