WC_Admin_Dashboard_Setup::get_tasks()publicWC 1.0

Get the tasks.

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

No Hooks.

Return

Array.

Usage

$WC_Admin_Dashboard_Setup = new WC_Admin_Dashboard_Setup();
$WC_Admin_Dashboard_Setup->get_tasks();

Code of WC_Admin_Dashboard_Setup::get_tasks() WC 6.7.0

public function get_tasks() {
	if ( $this->tasks ) {
		return $this->tasks;
	}

	$this->tasks = $this->get_task_list()->get_viewable_tasks();
	return $this->tasks;
}