Automattic\WooCommerce\Internal

McStats::do_server_side_statspublicWC 1.0

Pings the stats server for the current stats and empty the stored stats from the object

Method of the class: McStats{}

No Hooks.

Returns

null. Nothing (null).

Usage

$McStats = new McStats();
$McStats->do_server_side_stats();

McStats::do_server_side_stats() code WC 10.7.0

public function do_server_side_stats() {
	if ( ! \WC_Site_Tracking::is_tracking_enabled() ) {
		return;
	}

	parent::do_server_side_stats();
}