Created
October 31, 2017 03:59
-
-
Save grantalltodavid/5d65a1cdc40d89515c4c39809678d0b3 to your computer and use it in GitHub Desktop.
Sliced Invoices PDF Extension: disable watermark
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_action( 'sliced_pdf_init', 'sliced_pdf_html_custom_params', 10, 1 ); | |
function sliced_pdf_html_custom_params( $pdf ) { | |
$pdf->showWatermarkText = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment