WC_Tracks_Footer_Pixel::add_event()
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() WC Tracks Footer Pixel::add event code WC 9.3.1
public function add_event( $event ) { $this->events[] = $event; }