| @@ -14,11 +14,13 @@ | ||
| 14 | 14 | |
| 15 | 15 | public function __construct() { |
| 16 | 16 | // Get role row via AJAX |
| 17 | 17 | add_action( 'wp_ajax_' . self::GET_ROLE_ROW_HTML__ACTION, array($this, 'getRoleRowHtml') ); |
| 18 | + // Activate new tab | |
| 19 | + add_filter( 'tiered_pricing_table/admin/role_customer_pricing_tab_active', '__return_true' ); | |
| 18 | 20 | // Render |
| 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 | 99, |
| 23 | 25 | 1 |
| 24 | 26 | ); |