kollapsminoriteten/wp-content/plugins/jetpack/modules/woocommerce-analytics.php

34 lines
928 B
PHP
Raw Normal View History

2020-05-06 17:20:49 +02:00
<?php
/**
* Module Name: WooCommerce Analytics
2025-07-27 19:58:08 +02:00
* Module Description: Get actionable insights on your stores orders, revenue, and customers.
2020-05-06 17:20:49 +02:00
* Sort Order: 13
* First Introduced: 8.4
* Requires Connection: Yes
* Auto Activate: Yes
* Module Tags: Other, Recommended
* Feature: Engagement
* Additional Search Queries: woocommerce, analytics, stats, statistics, tracking, analytics, views
*
2021-04-27 08:32:47 +02:00
* @package automattic/jetpack
2020-05-06 17:20:49 +02:00
*/
2024-04-17 11:32:24 +02:00
use Automattic\Woocommerce_Analytics;
2025-12-12 13:13:07 +01:00
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
2020-05-06 17:20:49 +02:00
/**
2025-02-28 08:42:11 +01:00
* Load module functionality from the package only if
* WC_ANALYTICS constant is not defined by WooCommerce
*
* When WC_ANALYTICS constant is defined it means WooCommerce_Analytics package is being
* loaded by WooCommerce core instead of Jetpack.
*
* We maintain for now the initialization here for compatibility reasons.
2020-05-06 17:20:49 +02:00
*/
2025-02-28 08:42:11 +01:00
if ( ! defined( 'WC_ANALYTICS' ) ) {
Woocommerce_Analytics::init();
}