Hi,
The admin column uses the helper function rwmb_the_value
to show the field value. You can use this filter hook to change the field value when showing on the backend. For example:
add_filter( 'rwmb_the_value', function( $output, $field, $args, $object_id ) {
$value = rwmb_meta( 'confirm_code', $args, $object_id );
if( is_admin() && $field['id'] == 'confirm_code') {
if( $value ) {
$output = '<img src="https://picsum.photos/200/300?random=1" alt="Image" width="32" height="32">';
} else {
$output = 'icon here';
}
}
return $output;
}, 11, 4 );
Read more on the documentation https://docs.metabox.io/filters/#rwmb_the_value