Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

ExperimentalShippingRecommendation::has_plugins_active()public staticWC 1.0

Check if the store has any shipping zones.

Метод класса: ExperimentalShippingRecommendation{}

No Hooks.

Return

true|false.

Usage

$result = ExperimentalShippingRecommendation::has_plugins_active();

Code of ExperimentalShippingRecommendation::has_plugins_active() WC 7.1.0

public static function has_plugins_active() {
	return PluginsHelper::is_plugin_active( 'woocommerce-services' ) &&
	PluginsHelper::is_plugin_active( 'jetpack' );
}