wc_current_theme_supports_woocommerce_or_fse()WC .

Check if the current theme has WooCommerce support or is a FSE theme.

No Hooks.

Return

true|false.

Usage

wc_current_theme_supports_woocommerce_or_fse();

Changelog

Since . Introduced.
Since x.x.x

Code of wc_current_theme_supports_woocommerce_or_fse() WC 6.8.2

function wc_current_theme_supports_woocommerce_or_fse() {
	return (bool) current_theme_supports( 'woocommerce' ) || wc_current_theme_is_fse_theme();
}