HEX
Server: Apache
System: Linux webm010.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: alloesb (202139)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/a/l/l/alloesb/www/wp-content/plugins/customify/includes/integrations/the-events-calendar.php
<?php
/**
 * This is logic for integrating with the The Events Calendar plugin (including the PRO version).
 *
 * @link https://wordpress.org/plugins/the-events-calendar/
 *
 * @see         https://pixelgrade.com
 * @author      Pixelgrade
 * @since       2.7.3
 */

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

// These mess up our Select2.
add_action( 'admin_enqueue_scripts', function () {
	if ( ! is_customize_preview() ) {
		return;
	}

	wp_deregister_script( 'tribe-select2' );
	wp_register_script( 'tribe-select2', '' );

	wp_deregister_style( 'tribe-select2-css' );
	wp_register_style( 'tribe-select2-css', '' );
}, 99 );