After updating:
MetaBox to 4.8.1
Group to 1.05
Conditional Logic to 1.2
Images on the frontend are not showing after the updates.
My image is an image_advanced field named 'iconimage' and is part of a group field named 'qwerty_icons'
I'm retrieving the group fields and displaying the image as such:
$icons = get_post_meta($post->ID, 'qwerty_icons', true);
foreach ( $icons as $icon ) {
$imgsrc = wp_get_attachment_url( $icon[iconimage]) );
}
Before the update, calling $icon[iconimage] returns the attachment id. But after the update I realised it returned an array instead, and I had to call $icon[iconimage][0] to return the id.
Is this how the image_advanced field is saved now (as an array)? Or is this a bug?