Automattic\WooCommerce\Admin\Features\OnboardingTasks

TaskLists::init()public staticWC 1.0

Initialize the task lists.

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

No Hooks.

Return

null. Nothing.

Usage

$result = TaskLists::init();

Code of TaskLists::init() WC 6.8.2

public static function init() {
	self::init_default_lists();
	add_action( 'admin_init', array( __CLASS__, 'set_active_task' ), 5 );
	add_action( 'init', array( __CLASS__, 'init_tasks' ) );
	add_action( 'admin_menu', array( __CLASS__, 'menu_task_count' ) );
	add_filter( 'woocommerce_admin_shared_settings', array( __CLASS__, 'task_list_preloaded_settings' ), 20 );
}