WC_Tracks_Event::record()

Record Tracks event


Description Description


Return Return

(bool) Always returns true.


Top ↑

Source Source

File: includes/tracks/class-wc-tracks-event.php

	public function record() {
		if ( wp_doing_ajax() || Constants::is_true( 'REST_REQUEST' ) ) {
			return WC_Tracks_Client::record_event( $this );
		}

		return WC_Tracks_Footer_Pixel::record_event( $this );
	}


Top ↑

User Contributed Notes User Contributed Notes

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