Hi Yordan,
The problem has been fixed, now the code works perfectly.
Thank you very much for the support.
Hi Darren, thanks for your quick reply.
I’m not using a custom PDF template, here is the code that I think gives problems:
56. add_filter( ‘wpo_wcpdf_billing_address’, ‘incluir_nif_en_factura’ );
57.
58. function incluir_nif_en_factura( $address ){
59. global $wpo_wcpdf;
60.
61. echo $address . ‘
62. ‘; $wpo_wcpdf->custom_field( ‘NIF’, ‘NIF: ‘ ); echo ”;
63.
64. }
I have been using the plugin for a long time, including this code, this is the first time an update has given me problems.
Thanks in advance.
Laura