ID ); $tracks_identity = WC_Tracks_Client::get_identity( $user->ID ); $client_tracking_properties = array_merge( $server_details, $blog_details ); /** * Add global tracks event properties. * * @since 6.5.0 */ $filtered_properties = apply_filters( 'woocommerce_tracks_event_properties', $client_tracking_properties, false ); $environment_type = function_exists( 'wp_get_environment_type' ) ? wp_get_environment_type() : 'production'; ?> registered['woo-tracks'] ) ) { return; } $woo_tracks_script = $wp_scripts->registered['woo-tracks']->src; ?>