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/UserBasedPricing/ProductManager.php +3 -1 6.5.0 → 8.0.2 View file →
@@ -14,11 +14,13 @@
14 14
15 15 public function __construct() {
16 16 // Get user row via AJAX
17 17 add_action( 'wp_ajax_' . self::GET_USER_ROW_HTML__ACTION, array($this, 'getUserRowHtml') );
18 + // Activate new tab
19 + add_filter( 'tiered_pricing_table/admin/role_customer_pricing_tab_active', '__return_true' );
18 20 // Render (priority 100 to show after role-based pricing)
19 21 add_action(
20 - 'tiered_pricing_table/admin/before_advance_product_options',
22 + 'tiered_pricing_table/admin/role_customer_pricing_tab_content',
21 23 array($this, 'render'),
22 24 100,
23 25 1
24 26 );