Automattic\WooCommerce\Internal
McStats::do_stats
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() McStats::do stats WC 10.3.6
public function do_stats() {
if ( ! \WC_Site_Tracking::is_tracking_enabled() ) {
return;
}
parent::do_stats();
}