Skip to content

Instantly share code, notes, and snippets.

@bradleysa
Created April 22, 2022 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradleysa/db422df729cb0637fee566a2279520ce to your computer and use it in GitHub Desktop.
Save bradleysa/db422df729cb0637fee566a2279520ce to your computer and use it in GitHub Desktop.
Show Custom Message on Packing List for WooCommerce
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