Automattic\WooCommerce\Internal

McStats::do_statspublicWC 1.0

Outputs the tracking pixels 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_stats();

McStats::do_stats() code WC 10.3.6

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

	parent::do_stats();
}