PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | src/Addons/ReactProductEditorAddon/ReactProductEditorAddon.php +13 -1 6.1.0 → 8.0.2 View file →
@@ -8,11 +8,15 @@
8 8 return __( 'WooCommerce Product Editor integration', 'tier-pricing-table' );
9 9 }
10 10
11 11 public function getDescription(): string {
12 - return __( 'Enable integration with the new WooCommerce React-based product editor.', 'tier-pricing-table' );
12 + return __( 'Enable support for WooCommerce\'s React-based product editor.', 'tier-pricing-table' );
13 13 }
14 14
15 + public function getIcon(): string {
16 + return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>';
17 + }
18 +
15 19 public function getSlug(): string {
16 20 return 'woocommerce-react-product-editor';
17 21 }
18 22
@@ -21,6 +25,14 @@
21 25 }
22 26
23 27 protected function isActiveByDefault(): bool {
24 28 return false;
29 + }
30 +
31 + /**
32 + * Not listed in the module list: the integration is experimental and switched on by its option only
33 + * (a store that enabled it earlier keeps it).
34 + */
35 + public function addToAddonsSettings( $addons ) {
36 + return $addons;
25 37 }
26 38 }