Recent

tptn_update_countfilter

tptn_update_count

Filter the response on database update.

Type: filter
Since: 2.6.0
Source: includes/class-tracker.php line 457

Parameters

Type Name Description
string $str Response string.
int $id Post ID.
int $blog_id Blog ID.
int $activate_counter Activate counter flag.
int $source Traffic source: 0 = web, 1 = feed.

Usage

add_filter( 'tptn_update_count', function($str, $id, $blog_id, $activate_counter, $source) {
    // ...
    return $str;
} );