Automattic\WooCommerce\Admin\Features\OnboardingTasks

TaskLists::task_list_preloaded_settings()public staticWC 1.0

Add visible list ids to component settings.

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

No Hooks.

Return

Array.

Usage

$result = TaskLists::task_list_preloaded_settings( $settings );
$settings(array) (required)
Component settings.

Code of TaskLists::task_list_preloaded_settings() WC 6.8.2

public static function task_list_preloaded_settings( $settings ) {
	$settings['visibleTaskListIds'] = array_keys( self::get_visible() );

	return $settings;
}