<?php

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
$hidden_columns = isset( $hidden_columns ) ? $hidden_columns : [];
?>
<style id="sugar-calendar-bookings-calendar-styles">
    /* Agenda view dynamic styles */

	<?php foreach ( $hidden_columns as $column ) : // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound ?>

    .sugar-calendar-bookings-calendar__appointment-<?php echo esc_attr( $column ); ?> {
        display: none !important;
    }

	<?php endforeach; ?>
</style>

