WordPress at Your Fingertips
function is not described

WC_Site_Tracking::register_scripts() public WC 1.0

Register scripts required to record events from javascript.

{} It's a method of the class: WC_Site_Tracking{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Site_Tracking::register_scripts();

Code of WC_Site_Tracking::register_scripts() WC 5.8.0

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