- This topic has 1 reply, 2 voices, and was last updated 1 month, 1 week ago by .
Is there a way you can return the only 1st value of a array returned by rwmb_the_value?
<?php $body = 'image_upload_gallery_field_Sz3Nx6'; $body_value = rwmb_the_value( $body ); ?>
Also is there a way to flatten the returned array into a string of text?
I have an automotive website where the make/model is set by a select tree field. I can return the values, but when displaying on the page I'd prefer it to be a string of text rather than list.
- You must be logged in to reply to this topic.