Hi Admed,
Can i have your email please to share my response on, rather than place that information on this public forum?
Please ignore found the solution on another article – add_filter('woo_invoice_filter_template_label', 'woo_invoice_filter_template_label_callback', 10, 3); function woo_invoice_filter_template_label_callback($label, $order, $template){ if($label == 'Tax'){ return 'VAT'; } if ($label == 'Cost'){ return 'Price'; } return $label; }
You could argue and say why don’t you just add a 301 redirect to the .pdf but that would be stupid Franck.
Would be easier to add a field for a custom url.
Some clients, especially law companies/business’s have to display them as a PDF.
Thank you for your wonderful comment reply.