WC_Admin_Notices::is_ssl()
Determine if the store is running SSL.
Description Description
Return Return
(bool) Flag SSL enabled.
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 ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.5.1 | Introduced. |