As per another thread (https://support.advancedcustomfields.com/forums/topic/the-group-field/) I have also tried the below code, but it doesn’t work either.
/* Add 14 eyes shortcode */
function shortcode_14_eyes() {
$privacy = get_field('privacy');
if( $privacy ):
if( $privacy['fourteen_eyes_country'] ):
return '<span style="color:#EE121E;"><i class="fa fa-exclamation-triangle"></i></span>';
endif;
endif;
}
add_shortcode( '14_eyes', 'shortcode_14_eyes' );