- This topic has 2 replies, 2 voices, and was last updated 1 year, 4 months ago by .
I’ve added the group extensions sample code that creates the Album Tracks on a CPT.
I retrieve the value of field ‘standard’ using
$value = rwmb_meta( $field_id );
I can access the value of genre using:
$genre = $value['genre'];
However, the returned values are always the key-values, and I don’t see an option to change that to either label or key-label value pairs. How can I go about to return the labels instead?
Thanks, I’m hoping I’m just missing something here.
- You must be logged in to reply to this topic.