Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

ReviewShippingOptions::can_view()publicWC 1.0

Task visibility.

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

No Hooks.

Return

true|false.

Usage

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

Code of ReviewShippingOptions::can_view() WC 7.1.0

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