Recent

tptn_add_counter_script_urlfilter

tptn_add_counter_script_url

Filter the URL of the tracker.

Other tracker types can override the URL processed by the jQuery.post request The corresponding tracker can use the below variables or append their own to $ajax_tptn_tracker

Type: filter
Since: 2.0
Source: includes/class-tracker.php line 131

Parameters

Type Name Description
string $home_url URL of the tracker.

Usage

add_filter( 'tptn_add_counter_script_url', function($home_url) {
    // ...
    return $home_url;
} );