I have a meta field contains data from a checkbox as array. i need to show that as a list

20 April, 2022 02:00:21
rameeshighmark
Topics: 9
Messages: 16
Currently that data display as like below
a:2:{i:0;s:17:"Employment Income";i:1;s:27:"Sale of Investment Property";}

I need to show this data as a list like below

Employment Income
Sale of Investment Property



How can i do that?

Thanks in advance.
20 April, 2022 02:53:44
E2Pdf
Support
Topics: 7
Messages: 3188
Hi,

- If you are using "textarea" inside E2Pdf Template use "implode" attribute as:
[e2pdf-wp key="checkbox" meta="true" implode="\n"]


- If you are using "HTML" object inside E2Pdf Template use "implode" attribute as:
[e2pdf-wp key="checkbox" meta="true" implode="<br>"]

* "checkbox" must be replaced with your meta key

We remain at your service.
We would really appreciate your feedback at WordPress.org!