Update dynamically custom content on WooCommerce update checkout event
class CheckoutTax { public function __construct() { // add a note after the order details, when a tax is charged and country changes // the html snippet is shown after the order details on a page refresh add_action('woocommerce_review_order_before_payment', array($this, 'checkout_note_tax'));…