Automattic\WooCommerce\Admin\Features\OnboardingTasks
TaskLists::all_hidden
Check if all task lists are hidden.
Method of the class: TaskLists{}
No Hooks.
Returns
true|false
.
Usage
$result = TaskLists::all_hidden();
TaskLists::all_hidden() TaskLists::all hidden code WC 9.9.4
public static function all_hidden() { $hidden_lists = get_option( TaskList::HIDDEN_OPTION, array() ); return count( $hidden_lists ) === count( self::get_lists() ); }