Automattic\WooCommerce\Admin\Features\OnboardingTasks

Task::is_active()publicWC 1.0

Check if this is the active task.

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

No Hooks.

Return

null. Nothing.

Usage

$Task = new Task();
$Task->is_active();

Code of Task::is_active() WC 6.6.1

public function is_active() {
	return get_transient( self::ACTIVE_TASK_TRANSIENT ) === $this->get_id();
}