Hi there,
I need to display the labels of all fields in a specific group on front end. I really need just the labels, no values, as I have no post ID available.
So how do I get all the field labels, but not post specific. I need the field list, that was created on the backend.
Is there a function/hook I could use, or do I have to manually query the db?
Regards,
Marcus
Ah, got it:
$group_ID = 'group_594cfb4311590';
$fields = acf_get_fields($group_ID);
This does the trick. Tried to used the WP ID of the group (single integer value) with the function, but the internal ID of the group is needed.