astra_has_pro_woocommerce_addon()
Check if Woocommerce pro addons is enabled.
Description
Return
(bool) true|false.
Source
File: inc/compatibility/woocommerce/woocommerce-common-functions.php
function astra_has_pro_woocommerce_addon() {
	/** @psalm-suppress UndefinedClass  */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
	return ( defined( 'ASTRA_EXT_VER' ) && Astra_Ext_Extension::is_active( 'woocommerce' ) ) ? true : false;
	/** @psalm-suppress UndefinedClass  */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
}
			Expand full source code Collapse full source code View on Trac