<div class="btn-appointment">
    <a <?php if( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "partners_mb_contact_info", 'partners_appointment_btn_url_new_window' ) ) { echo 'target="_blank"';} ?> href="<?php the_permalink();?>"
      class="<?php echo esc_attr(implode(' ', $appointment_btn_classes)); ?>">
      <?php echo esc_html( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "partners_mb_contact_info", 'partners_appointment_btn_text' ) );?>
    </a>
</div>