Automattic\WooCommerce\Admin\Features\OnboardingTasks

Task::is_active()publicWC 1.0

Check if this is the active task.

Метод класса: Task{}

Хуков нет.

Возвращает

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

Использование

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

Код Task::is_active() WC 8.7.0

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