Automattic\WooCommerce\Internal

McStats::do_stats()publicWC 1.0

Outputs the tracking pixels for the current stats and empty the stored stats from the object

Метод класса: McStats{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код McStats::do_stats() WC 9.5.1

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

	parent::do_stats();
}