WordPress at Your Fingertips
function is not described

WC_Template_Loader::unsupported_theme_init() public WC 3.3.0

Hook in methods to enhance the unsupported theme experience on pages.

{} It's a method of the class: WC_Template_Loader{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Template_Loader::unsupported_theme_init();

Changelog

Since 3.3.0 Introduced.

Code of WC_Template_Loader::unsupported_theme_init() WC 5.6.0

public static function unsupported_theme_init() {
	if ( 0 < self::$shop_page_id ) {
		if ( is_product_taxonomy() ) {
			self::unsupported_theme_tax_archive_init();
		} elseif ( is_product() ) {
			self::unsupported_theme_product_page_init();
		} else {
			self::unsupported_theme_shop_page_init();
		}
	}
}