- This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago by .
-
Topic
-
Hi,
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[0]['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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.