WC_Tracks_Footer_Pixel::add_event()publicWC 1.0

Add a Tracks event to the queue.

Method of the class: WC_Tracks_Footer_Pixel{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Tracks_Footer_Pixel = new WC_Tracks_Footer_Pixel();
$WC_Tracks_Footer_Pixel->add_event( $event );
$event(WC_Tracks_Event) (required)
Event to track.

WC_Tracks_Footer_Pixel::add_event() code WC 8.7.0

public function add_event( $event ) {
	$this->events[] = $event;
}