Run when a new statistic is recorded.
add_action( 'wpa_save_stats_post', function( int $stat, array $stats, int $post_ID ) { // Your code here. }, 10, 3 );
int
$stat
array
$stats
$post_ID
do_action( 'wpa_save_stats_post', $stat, $stats, $post_ID )
← All Hooks
There was an error while loading. Please reload this page.