Automattic\WooCommerce\Admin\Features\OnboardingTasks

Task::prefix_event()publicWC 1.0

Prefix event for track event naming.

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

No Hooks.

Return

String.

Usage

$Task = new Task();
$Task->prefix_event( $event_name );
$event_name(string) (required)
Event name.

Code of Task::prefix_event() WC 6.9.4

public function prefix_event( $event_name ) {
	if ( ! $this->task_list ) {
		return '';
	}
	return $this->task_list->prefix_event( $event_name );
}