• Hello,

    I have a problem with the title of my bills. By default, the word ‘INVOICE’ appears but this document can not be sent to my clients as an official invoice, so some time ago you gave me a small code to change the title to my invoices and I could put the title ‘DETAIL OF THE ORDER’:

    add_filter( ‘wpo_wcpdf_invoice_title’, ‘wpo_wcpdf_invoice_title’ );
    function wpo_wcpdf_invoice_title () {
    $invoice_title = ‘Detalle del pedido’;
    return $invoice_title;
    }

    This code works for me when I view my invoices from the list of Woocommerce orders as admin, however in the invoices that are attached to the mail of the customers when they make a purchase, the title ‘INVOICE’ continues to appear.

    Could you help me with this? Would there be any code I can use to change the title to the bills that reach my clients?

    Thank you so much.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    This filter works regardless of whether it’s the attachment or downloaded by the admin. How/where did you add this filter? Is it possible that it only applies for administrators (for example, the Code Snippets plugin has an option “Only run in administration area”)

Viewing 1 replies (of 1 total)
  • The topic ‘CHANGE TITLE IN BILLS’ is closed to new replies.