Hi,
I’m trying to get specific types of fields from a post by post id with get_fields. For instance I want to have only the values of a checkbox, radio and number fields. I did try it with get_field_oject but this won’t get me information about the field type.
Is this possible and as so, how to? Thanks!
Hi @LeffDesign
Please use the get_field_objects
function and then within the loop, you can look at the $field[‘type’] to determine it’s type.
Thanks
E