| @@ -13,8 +13,10 @@ | ||
| 13 | 13 | use UltimateStoreKit\Base\Module_Base; |
| 14 | 14 | |
| 15 | 15 | if (!defined('ABSPATH')) exit; // Exit if accessed directly |
| 16 | 16 | |
| 17 | +// phpcs:disable WordPressVIPMinimum.Performance.WPQueryParams -- WordPressVIPMinimum targets the VIP platform, not the plugin directory. These exclusionary parameters come from a widget's own "exclude" control: the list is whatever the site owner picked in Elementor, applied to a bounded result set, not an unbounded catalogue scan. | |
| 18 | + | |
| 17 | 19 | // class Add_To_Cart extends Widget_Button { |
| 18 | 20 | class Page_Single extends Module_Base { |
| 19 | 21 | |
| 20 | 22 | public function get_name() { |
| @@ -1482,9 +1484,9 @@ | ||
| 1482 | 1484 | $product_id = $product->get_id(); |
| 1483 | 1485 | } |
| 1484 | 1486 | ?> |
| 1485 | 1487 | <div class="usk-page-single"> |
| 1486 | - <?php usk_setup_quantity_buttons(); // this is for quantity plus minus button ?> | |
| 1488 | + <?php ultimate_store_kit_setup_quantity_buttons(); // this is for quantity plus minus button ?> | |
| 1487 | 1489 | <?php echo do_shortcode('[product_page id="' . $product_id . '"]'); ?> |
| 1488 | 1490 | </div> |
| 1489 | 1491 | <?php |
| 1490 | 1492 | } |