I am trying to:
I'm trying to make XML export for the marketing site. But the value in the checkbox field is not in plain text format but some code. in this case <wpcf-features>
<data>
<post>
<id>9</id>
<Title>Testing</Title>
<Content/>
<PropertyTypes>Condominium</PropertyTypes>
<wpcf-features>
a:3:{s:64:"wpcf-fields-checkboxes-option-849c59c64c788e9e29cd2ff948966e47-1";a:1:{i:0;s:7:"jacuzzi";}s:64:"wpcf-fields-checkboxes-option-2f7fcc6f100dc286a96ab313d22de388-1";a:1:{i:0;s:7:"laundry";}s:64:"wpcf-fields-checkboxes-option-caab77bf6de45bddffb0d5a78a3abd18-1";a:1:{i:0;s:6:"garden";}}
</wpcf-features>
</post>
</data>
I expected to see:
<wpcf-features>jacuzzi|laundry|garden</wpcf-features>
Instead, I got:
<wpcf-features>
a:3:{s:64:"wpcf-fields-checkboxes-option-849c59c64c788e9e29cd2ff948966e47-1";a:1:{i:0;s:7:"jacuzzi";}s:64:"wpcf-fields-checkboxes-option-2f7fcc6f100dc286a96ab313d22de388-1";a:1:{i:0;s:7:"laundry";}s:64:"wpcf-fields-checkboxes-option-caab77bf6de45bddffb0d5a78a3abd18-1";a:1:{i:0;s:6:"garden";}}
</wpcf-features>
I use wp all export pro.
Hi, Types checkboxes fields are stored in the database as serialized data structures instead of plain text. The code you're seeing here is a representation of a serialized data structure, and it appears to be working as designed. If you'd like to produce a different output format for checkboxes, it may require custom code or a custom integration with the export plugin.
My issue is resolved now. Thank you!