Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Marketing::can_view()publicWC 1.0

Task visibility.

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

Хуков нет.

Возвращает

true|false.

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

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

Код Marketing::can_view() WC 7.3.0

public function can_view() {
	return Features::is_enabled( 'remote-free-extensions' ) && count( self::get_plugins() ) > 0;
}