WC_Tracks_Client::add_request_timestamp_and_nocachepublic staticWC 1.0

Add request timestamp and no cache parameter to pixel. Use this the latest possible before the HTTP request.

Method of the class: WC_Tracks_Client{}

No Hooks.

Returns

String. Pixel URL with request timestamp and URL terminator.

Usage

$result = WC_Tracks_Client::add_request_timestamp_and_nocache( $pixel );
$pixel(string) (required)
Pixel URL.

WC_Tracks_Client::add_request_timestamp_and_nocache() code WC 9.9.3

public static function add_request_timestamp_and_nocache( $pixel ) {
	$pixel .= '&_rt=' . self::build_timestamp() . '&_=_';

	return $pixel;
}