Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

ExperimentalShippingRecommendation::can_view()publicWC 1.0

Task visibility.

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

Хуков нет.

Возвращает

true|false.

Использование

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

Код ExperimentalShippingRecommendation::can_view() WC 6.9.1

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