Created
March 16, 2022 13:55
-
-
Save skyshab/d481aa83f8feffd3e4d68d9be7b80f00 to your computer and use it in GitHub Desktop.
Must Use plugin for fixing conflicts between bootstrap datepicker and jQuery UI datepicker.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Fix for TEC datepicker conflict. | |
* Description: Fixes conflict between bootstrap datepicker and jQuery UI datepicker | |
* Author: theeventscalendar.com | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ | |
// Basic security, prevents file from being loaded directly. | |
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); | |
add_filter( 'tribe_events_views_v2_datepicker_no_conflict', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This file should be placed in wp-content/mu-plugins. If the mu-plugins folder does not exist, create it.