WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

OnboardingTasks::get_active_task() public WC 1.0

Get the name of the active task.

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

No Hooks.

Return

String. Nothing.

Usage

$result = OnboardingTasks::get_active_task();

Code of OnboardingTasks::get_active_task() WC 5.3.0

<?php
public static function get_active_task() {
	return get_transient( self::ACTIVE_TASK_TRANSIENT );
}