WC_Tracks_Client::add_request_timestamp_and_nocache
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 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; }