Change invoice and packing slip name
-
Hi ,
An old question asked how to change the invoice name to a receipt.
You sent me this solution:add_filter( ‘wpo_wcpdf_invoice_title’, ‘wpo_wcpdf_invoice_title’, 10, 2 );
function wpo_wcpdf_invoice_title ( $title, $document ) {
$title = ‘Ricevuta’;
return $title;
}But with query monitor:
“Hook wpo_wcpdf_invoice_title is deprecated since version 3.8.7! Use wpo_wcpdf_document_title instead.”
What can we do?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.