Is there any update on this one? I’ve tried a few different methods and this script continues to load on my site.
Both your dequeue extension and the following code, failed to deregister the script. I’ve tried both a lower and higher priority without any change.
add_action( ‘wp_enqueue_scripts’, ‘en_remove_tribe_select2’, 20 );
function en_remove_tribe_select2() {
wp_deregister_script( ‘tribe-select2’ );
}