Retrieving key names and key/value pairs
-
Hi,
Sorry if this is in the docs but I can’t find it.Is it possible to loop through all slt custom fields and retrieve their keys as well as their values?
This function, I think, only retrieves the values of the fields: slt_cf_all_field_values()
I would like to do two things:
(1) Retrieve a list of the keys on their own (to output in a list)
(2) Retrieve the keys at the same time as the values so I can assign them a css classnameEven better would be able to retrieve the human readable ‘label’ as assigned when the fields are registered, which labels the fields at the back end. Can these be retrieved at the front end?
Many thanks
Tim
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Retrieving key names and key/value pairs’ is closed to new replies.