I have a custom made user list view where I have a filtering functionality. User list can be filtered based on what values users have selected in custom cb field, type: checkbox (multiple).
For example:
On registration page there is a checkbox where users can select if they are "student", "employed", "unemployed". Then, the user list can be filtered so that only "student" users are shown.
For filtering, I have a dropdown which I would like to populate with the labels of the multiple checkbox values.
So, in php, is there a way of getting the labels of all the values defined in that checkbox cb field?