# Change Price(also variable\_price) Html Priority to Max

```php
// To change the price(also variable_price) strikeout html priority to max.
add_action('advanced_woo_discount_rules_after_initialize', function() {
    if(class_exists('\Wdr\App\Router')){
        remove_filter('woocommerce_get_price_html', array(\Wdr\App\Router::$manage_discount, 'getPriceHtml'), 100, 2);
        add_filter('woocommerce_get_price_html', array(\Wdr\App\Router::$manage_discount, 'getPriceHtml'), PHP_INT_MAX, 2);
	remove_filter('woocommerce_variable_price_html', array(\Wdr\App\Router::$manage_discount, 'getVariablePriceHtml'), 100);
        add_filter('woocommerce_variable_price_html', array(\Wdr\App\Router::$manage_discount, 'getVariablePriceHtml'), PHP_INT_MAX, 2);
    }
});
```
