remove WC_Admin_Setup_Wizard_Tracking from tracking classes

This commit is contained in:
Ron Rennick 2020-09-18 15:26:18 -03:00
parent 0735ed9f40
commit 9ae1ba92c6
1 changed files with 2 additions and 3 deletions

View File

@ -95,11 +95,11 @@ class WC_Site_Tracking {
*/
public static function add_enable_tracking_function() {
global $wp_scripts;
if ( ! isset( $wp_scripts->registered['woo-tracks'] ) ) {
return;
}
$woo_tracks_script = $wp_scripts->registered['woo-tracks']->src;
?>
@ -163,7 +163,6 @@ class WC_Site_Tracking {
include_once WC_ABSPATH . 'includes/tracks/events/class-wc-coupon-tracking.php';
$tracking_classes = array(
'WC_Admin_Setup_Wizard_Tracking',
'WC_Extensions_Tracking',
'WC_Importer_Tracking',
'WC_Products_Tracking',