← All changes
|
app/Controllers/ThemesSupport/Astra/ThemeSupport.php
+2
-0
2.1.9
→
3.2.6
View file →
| @@ -31,8 +31,10 @@ | ||
| 31 | 31 | */ |
| 32 | 32 | private function __construct() { |
| 33 | 33 | add_filter( 'astra_dynamic_post_structure_posttypes', [ __CLASS__, 'astra_post_types' ], 15 ); |
| 34 | 34 | add_filter( 'rtsb/elementor/archive/products_per_page', [ __CLASS__, 'astra_products_per_page' ] ); |
| 35 | + remove_filter( 'woocommerce_get_stock_html', 'astra_woo_product_in_stock' ); | |
| 36 | + remove_filter( 'woocommerce_product_get_rating_html', [ Astra_Woocommerce::get_instance(), 'rating_markup' ], 10 ); | |
| 35 | 37 | } |
| 36 | 38 | /** |
| 37 | 39 | * Get class instance. |
| 38 | 40 | * |