Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Marketing::can_view()publicWC 1.0

Task visibility.

{} It's a method of the class: Marketing{}

No Hooks.

Return

true|false.

Usage

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

Code of Marketing::can_view() WC 6.6.1

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