newlines in custom textarea field
-
I was having problems with disappearing newlines in custom textarea fields. I solved it by modifying the code of your plugin as follows:
woocommerce-pdf-invoices-packingslips.php, line 246
echo $field_label . nl2br ($custom_field);
I think this is useful for everybody. Can you add this to the next version?
https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘newlines in custom textarea field’ is closed to new replies.