Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

ExperimentalShippingRecommendation::can_view()publicWC 1.0

Task visibility.

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

No Hooks.

Return

true|false.

Usage

$ExperimentalShippingRecommendation = new ExperimentalShippingRecommendation();
$ExperimentalShippingRecommendation->can_view();

Код ExperimentalShippingRecommendation::can_view() WC 7.1.0

public function can_view() {
	return Features::is_enabled( 'shipping-smart-defaults' );
}