I'm looking to retrieve a specific meta value for users from the Wordpress types plugin. I know the value is stored in a wpcf-team-experience-member-type. This is a checkbox option and I'd like to retrieve a list of all selected values.
Right off the bat if I do something like:
var_dump(get_user_meta($user->ID, 'wpcf-team-experience-member-type'))
I get something like this:
array(1) { [0]=> array(1) { ["wpcf-fields-checkboxes-option-f4fe375f6cad3c44eff97e6e6f16deb2-1"]=> array(1) { [0]=> string(7) "student" } } }
wpcf seems to put all of its values inside of an array, and on top of that the checkbox values are stored in an array as well. In this case, the value I'm looking for is 'student' but that array might have multiple values.
How would I go about retrieving it? Thank you!