Last active
October 30, 2018 14:38
-
-
Save nfsarmento/76e0c91d59e8c508ccbe8e94d4fbf7a6 to your computer and use it in GitHub Desktop.
Add "Note to Customer" to the PDF invoice, this code needs WooCommerce PDF Invoices & Packing Slips plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Add "Note to Customer" to the PDF invoice, this code needs WooCommerce PDF Invoices & Packing Slips plugin | |
* | |
* https://www.nuno-sarmento..com | |
*/ | |
add_action( 'wpo_wcpdf_after_order_details', 'ns_add_note_to_customer_to_PDF_invoice' ); | |
function ns_add_note_to_customer_to_PDF_invoice() { | |
global $wpo_wcpdf; | |
$wpo_wcpdf->order_notes(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment