I want to display a couple of custom fields on a page. the page has the [mb_frontend_dashboard] shortcode but I want to display some additional infos
$current_user_id = get_current_user_id();
$user_data = get_userdata( $current_user_id );
works without a problem, I also want to display the users hero image, which is setup as a single image field
by using the following shortcode -> it just get "Array" display
`$test = rwmb_meta( 'user_hero_image', ['object_type' => 'user'], $current_user_id );
I did a var_dump , and yes it is an array, how do I get to the url to diplay the image ?