Automattic\WooCommerce\Admin\Features\OnboardingTasks

TaskList::prefix_event()publicWC 1.0

Prefix event for track event naming.

Method of the class: TaskList{}

No Hooks.

Return

String.

Usage

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

TaskList::prefix_event() code WC 9.0.1

public function prefix_event( $event_name ) {
	if ( null !== $this->event_prefix ) {
		return $this->event_prefix . $event_name;
	}
	return $this->get_list_id() . '_tasklist_' . $event_name;
}