Automattic\WooCommerce\Admin\Features\OnboardingTasks

TaskList::is_hidden()publicWC 1.0

Check if the task list is hidden.

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

No Hooks.

Return

true|false.

Usage

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

Code of TaskList::is_hidden() WC 6.6.1

public function is_hidden() {
	$hidden = get_option( self::HIDDEN_OPTION, array() );
	return in_array( $this->hidden_id ? $this->hidden_id : $this->id, $hidden, true );
}