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.

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

Хуков нет.

Возвращает

Строку. Pixel URL with request timestamp and URL terminator.

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

$result = WC_Tracks_Client::add_request_timestamp_and_nocache( $pixel );
$pixel(строка) (обязательный)
Pixel URL.

Код WC_Tracks_Client::add_request_timestamp_and_nocache() WC 9.9.4

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

	return $pixel;
}