/** * Disable enqueued Pods select2 and handlebars scripts * on The Events Calendar admin edit screens. * * @see https://github.com/pods-framework/pods/issues/3700 */ add_action( 'admin_footer', function(){ if ( 'tribe_events' == get_current_screen()->post_type ) { wp_dequeue_style( 'pods-select2' ); wp_dequeue_script( 'pods-select2' ); wp_dequeue_script( 'pods-handlebars' ); } });
Referenced from this GitHub Issue:Â https://github.com/pods-framework/pods/issues/3700