WC_Site_Tracking::register_scripts()public staticWC 1.0

Register scripts required to record events from javascript.

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

Хуков нет.

Возвращает

null. Ничего.

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

$result = WC_Site_Tracking::register_scripts();

Код WC_Site_Tracking::register_scripts() WC 7.1.1

public static function register_scripts() {
	wp_register_script( 'woo-tracks', 'https://stats.wp.com/w.js', array( 'wp-hooks' ), gmdate( 'YW' ), false );
}