Skip to content

Instantly share code, notes, and snippets.

@Willem-Siebe
Last active August 29, 2015 14:01
Show Gist options
  • Save Willem-Siebe/9f371aaaeab1320aaac2 to your computer and use it in GitHub Desktop.
Save Willem-Siebe/9f371aaaeab1320aaac2 to your computer and use it in GitHub Desktop.
Add WooCommerce payment instructions for BACS and COD in your invoice template from WooCommerce PDF Invoices & Packing Slips, see http://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips. Support topic: http://wordpress.org/support/topic/payment-instructions-added-but-not-working. The action has been added in WooCommerce files …
<!-- Add WooCommerce payment instructions for BACS and COD in your invoice template from WooCommerce PDF Invoices & Packing Slips, see https://gist.github.com/Willem-Siebe/9f371aaaeab1320aaac2. -->
<?php do_action( 'woocommerce_thankyou_' . $wpo_wcpdf->export->order->payment_method, $wpo_wcpdf->export->order->id ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment