Skip to content

Instantly share code, notes, and snippets.

@Willem-Siebe
Last active July 9, 2017 13:34
Show Gist options
  • Save Willem-Siebe/c05bd7d2938e951b54bc to your computer and use it in GitHub Desktop.
Save Willem-Siebe/c05bd7d2938e951b54bc to your computer and use it in GitHub Desktop.
Add Order number besides invoicenumber to invoice (WooCommerce PDF Invoices & Packing Slips plugin), see http://wordpress.org/support/topic/invoice-number-vs-invoice-order?replies=27#post-5434747.
<!-- Add Order number besides invoicenumber to invoice (WooCommerce PDF Invoices & Packing Slips plugin), see https://gist.github.com/Willem-Siebe/c05bd7d2938e951b54bc -->
<span class="order-number-label"><?php _e( 'Order Number:', 'wpo_wcpdf' ); ?></span>
<span class="order-number"><?php $wpo_wcpdf->order_number(); ?></span><br />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment