WC_Tracks_Footer_Pixel::add_event()publicWC 1.0

Add a Tracks event to the queue.

Метод класса: WC_Tracks_Footer_Pixel{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$WC_Tracks_Footer_Pixel = new WC_Tracks_Footer_Pixel();
$WC_Tracks_Footer_Pixel->add_event( $event );
$event(WC_Tracks_Event) (обязательный)
Event to track.

Код WC_Tracks_Footer_Pixel::add_event() WC 7.1.0

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