WC_Tracks_Footer_Pixel::send_tracks_requests()

Fire off API calls for events that weren’t converted to pixels.


Description Description

This handles wp_redirect().


Source Source

File: includes/tracks/class-wc-tracks-footer-pixel.php

	public function send_tracks_requests() {
		if ( empty( $this->events ) ) {
			return;
		}

		foreach ( $this->events as $event ) {
			WC_Tracks_Client::record_event( $event );
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.