Change the suffix price when price is entered excluding tax and displayed in including tax but suffi

Change suffix price behavior when price is entered excluding tax but displayed including tax with suffix excluding tax.

add_filter('advanced_woo_discount_rules_price_suffix', function ($price_suffix, $product, $price, $discount_prices){
    if(!empty($price)){
        if ( $product->is_taxable() ) {
            if(class_exists('WC_Tax')){
                $tax_rates      = WC_Tax::get_rates( $product->get_tax_class() );
                $base_tax_rates = WC_Tax::get_base_tax_rates( $product->get_tax_class( 'unfiltered' ) );
                $remove_taxes   = apply_filters( 'woocommerce_adjust_non_base_location_prices', true ) ? WC_Tax::calc_tax( $price, $base_tax_rates, true ) : WC_Tax::calc_tax( $price, $tax_rates, true );
                $price   = $price - array_sum( $remove_taxes ); // Unrounded since we're dealing with tax inclusive prices. Matches logic in cart-totals class. @see adjust_non_base_location_price.
                $price_suffix = $product->get_price_suffix($price);
            }
        }
    }

    return $price_suffix;

}, 10, 4);