Hi,
I want to show all field’s checkbox values in the product category archive for filtering purposes.
This is my code:
$field = get_field_object('course_days');
The course_days checkbox field is set to both
I tried var_dump()
on field var but I receive bool(false)
I s there a possibility to show all fields values?
Are you trying to show the selected values for the post or are you trying to show the choices available in the checkbox field?