WC_Admin_Dashboard_Setup::get_next_task()
Get the next task.
Method of the class: WC_Admin_Dashboard_Setup{}
No Hooks.
Return
Array|null
.
Usage
// private - for code of main (parent) class only $result = $this->get_next_task();
WC_Admin_Dashboard_Setup::get_next_task() WC Admin Dashboard Setup::get next task code WC 8.7.0
private function get_next_task() { foreach ( $this->get_tasks() as $task ) { if ( false === $task->is_complete() ) { return $task; } } return null; }