Created
April 22, 2022 08:31
-
-
Save bradleysa/db422df729cb0637fee566a2279520ce to your computer and use it in GitHub Desktop.
Show Custom Message on Packing List for WooCommerce
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_filter( 'wc_pip_document_show_header', function ( $show_header, $type ) { | |
if ( $type === 'packing-list' ) { | |
$show_header = true; | |
} | |
return $show_header; | |
}, 10, 2 ); | |
/** Supplied by SkyVerge via email support on 3-10-22 for their plugin: WooCommerce Print Invoices/Packing Lists **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment