We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e67b3c + 79f2b69 commit 26760e1Copy full SHA for 26760e1
plugins/grow-smooth-generator/grow-smooth-generator.php
@@ -2,7 +2,7 @@
2
/**
3
* Plugin Name: Grow Smooth Generator
4
* Description: A smooth generator for Grow extension data.
5
- * Version: 0.1.1
+ * Version: 0.1.2
6
* Author: Grow
7
* Author URI: https://woogrowp2.wordpress.com
8
*
@@ -61,3 +61,13 @@ function wc_grow_smooth_generator_notices() {
61
</div>
62
<?php
63
}
64
+
65
+// WooCommerce compatibility declarations.
66
+add_action(
67
+ 'before_woocommerce_init',
68
+ function () {
69
+ if ( class_exists( Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
70
+ Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__ );
71
+ }
72
73
+);
0 commit comments