Home › Forums › Front-end Issues › Displaying Checkbox Values gives Error › Reply To: Displaying Checkbox Values gives Error
Hi @aaronrobb
The code you have posted above does not use the implode function.
Perhaps you need to debug your code to make sure it can be implode
ed.
You can debug data by printing it like so:
<?php
echo '<pre>';
print_r( get_field('field_type_use') );
echo '</pre>';
die; ?>
Perhaps I should let you know that your above code is very complicated to achieve a very simple function. Perhaps you should look into the get_fields
and get_field_objects
function.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.