Plugin Directory

Changeset 3066760


Ignore:
Timestamp:
04/08/2024 10:11:18 AM (23 months ago)
Author:
sweetanalytics
Message:

Release 0.0.8OC

Location:
sweet-woocommerce
Files:
23 added
2 edited

Legend:

Unmodified
Added
Removed
  • sweet-woocommerce/trunk/readme.txt

    r3009638 r3066760  
    33Tags: sweet, analytics, tracker, tracking code, insights, analytics, enhanced, ecommerce, bi
    44Requires at least: 2.2
    5 Tested up to: 6.3.1
     5Tested up to: 6.5
    66Stable tag: 0.0.7
    77License: GPLv2 or later
     
    7272== Changelog ==
    7373
     74= 0.0.8 =
     75* Added declaration of HPOS compliance and tested with latest Wordpress version (6.5)
     76
    7477= 0.0.7 =
    7578* Fixes to enhanced ecommerce tracking
  • sweet-woocommerce/trunk/sweet-woocommerce.php

    r3009638 r3066760  
    33 * Plugin Name: Sweet Analytics WooCommerce
    44 * Description: WooCommerce tracking integration with Sweet Analytics
    5  * Version: 0.0.7
     5 * Version: 0.0.8
    66 * Author: Sweet Analytics
    77 * Author URI: https://sweetanalytics.com
    88 * WC requires at least: 2.2
    9  * WC tested up to: 6.3.1
     9 * WC tested up to: 6.5
    1010 */
    1111namespace SweetAnalytics;
     
    1616 **/
    1717require_once 'class/setup.php';
     18
     19add_action('before_woocommerce_init', function() {
     20    if (class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class )) {
     21        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('custom_order_tables', __FILE__, true );
     22    }
     23});
    1824
    1925if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
Note: See TracChangeset for help on using the changeset viewer.