Skip to content

Instantly share code, notes, and snippets.

@woogists
Last active September 30, 2022 15:33
Show Gist options
  • Save woogists/baa55398472a01ff203a13ad4edd23fd to your computer and use it in GitHub Desktop.
Save woogists/baa55398472a01ff203a13ad4edd23fd to your computer and use it in GitHub Desktop.
[WooCommerce Order Barcodes] Snippet To Display Barcodes Anywhere
/*
* Snippet to display Order Barcodes on your site.
* Just copy the PHP Snippet to your template, and it will be displayed over there.
*/
echo WC_Order_Barcodes()->display_barcode($order_id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment