public function render($user_profile = null)
{
$profile_role = '';
if (is_object($user_profile)) {
$this->set_user_id($user_profile->ID);
// array_shift removed the returned role from the $user_profile->roles
// $roles_to_shift prevents changing of the $user_profile->roles variable
$roles_to_shift = $user_profile->roles;
$profile_role = array_shift($roles_to_shift);
}
include \Carbon_Fields\DIR . '/templates/Container/user_meta.php';
}