Automattic\WooCommerce\Admin\Features\OnboardingTasks
Task::is_active()
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() Task::is active code WC 8.0.2
public function is_active() { return get_transient( self::ACTIVE_TASK_TRANSIENT ) === $this->get_id(); }