Automattic\WooCommerce\Admin\Features\OnboardingTasks

TaskList::is_visible()publicWC 1.0

Check if the task list is visible.

Method of the class: TaskList{}

No Hooks.

Return

true|false.

Usage

$TaskList = new TaskList();
$TaskList->is_visible();

TaskList::is_visible() code WC 9.0.1

public function is_visible() {
	if ( ! $this->visible || $this->is_hidden() || ! count( $this->get_viewable_tasks() ) > 0 ) {
		return false;
	}
	return ! $this->is_hidden();
}