add_action('woocommerce_thankyou', function($order_id) { if (!$order_id) { return; } $order = wc_get_order($order_id); $total = $order->get_total(); $currency = $order->get_currency(); ?>

Showing 13–17 of 17 results