Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/jetpack/modules
File: woocommerce-analytics.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Module Name: WooCommerce Analytics
[2] Fix | Delete
* Module Description: Get actionable insights on your store’s orders, revenue, and customers.
[3] Fix | Delete
* Sort Order: 13
[4] Fix | Delete
* First Introduced: 8.4
[5] Fix | Delete
* Requires Connection: Yes
[6] Fix | Delete
* Auto Activate: Yes
[7] Fix | Delete
* Module Tags: Other, Recommended
[8] Fix | Delete
* Feature: Engagement
[9] Fix | Delete
* Additional Search Queries: woocommerce, analytics, stats, statistics, tracking, analytics, views
[10] Fix | Delete
*
[11] Fix | Delete
* @package automattic/jetpack
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
use Automattic\Woocommerce_Analytics;
[15] Fix | Delete
[16] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[17] Fix | Delete
exit( 0 );
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* Load module functionality from the package only if
[22] Fix | Delete
* WC_ANALYTICS constant is not defined by WooCommerce
[23] Fix | Delete
*
[24] Fix | Delete
* When WC_ANALYTICS constant is defined it means WooCommerce_Analytics package is being
[25] Fix | Delete
* loaded by WooCommerce core instead of Jetpack.
[26] Fix | Delete
*
[27] Fix | Delete
* We maintain for now the initialization here for compatibility reasons.
[28] Fix | Delete
*/
[29] Fix | Delete
if ( ! defined( 'WC_ANALYTICS' ) ) {
[30] Fix | Delete
Woocommerce_Analytics::init();
[31] Fix | Delete
}
[32] Fix | Delete
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function