function inscricoes_get_uploaded_template($attachment_id)
{
    if (wp_attachment_is_image($attachment_id)) {
        return wp_get_attachment_image($attachment_id);
    } else {
        $url = wp_get_attachment_url($attachment_id);
        $filename_only = clear_pdf_file_name($attachment_id);
        return '<a class="file_upload" href="' . $url . '" target="_blank">' . $filename_only . '</a>';
    }
}
					Não enviado
				<?php 
}
?>
			</div>
		</div>
		<div class="row">
			<div class="col-md-3 col-xs-12"> 
				<strong>Diploma Profissional e/ou Registro profissional:</strong>
			</div>
			<div class="col-md-9 col-xs-12 file">
				<?php 
if ($diploma_file_id) {
    ?>
					<?php 
    $filename = clear_pdf_file_name($diploma_file_id);
    ?>
					<?php 
    echo wp_get_attachment_link($diploma_file_id, '', '', '', $filename);
    ?>
				<?php 
} else {
    ?>
					Não enviado
				<?php 
}
?>
				
			</div>

		</div>