Instead of [Remove] on the WooCommerce checkout for added coupons, I would like the text to be [Remove & Re-Calculate].
I am using the following and the text is changed but there is no link (the coupon cannot be removed).
This is what I tried:
add_filter( 'woocommerce_cart_totals_coupon_html', 'change_wc_coupon_removal_text', 10, 3 );
function change_wc_coupon_removal_text( $coupon_html, $coupon, $discount_amount_html ) {
$coupon_html = $discount_amount_html . '<br>' . 'Remove & Re-Calculate';
return $coupon_html;
}