Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

ReviewShippingOptions::can_view()publicWC 1.0

Task visibility.

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

Хуков нет.

Возвращает

true|false.

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

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

Код ReviewShippingOptions::can_view() WC 6.9.4

public function can_view() {
	return get_option( 'woocommerce_admin_created_default_shipping_zones' ) === 'yes';
}