Automattic\WooCommerce\Admin\Features\OnboardingTasks

Task::is_active()publicWC 1.0

Check if this is the active task.

Method of the class: Task{}

No Hooks.

Return

null. Ничего (null).

Usage

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

Task::is_active() code WC 8.0.2

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