public
Created

remove tribe events scripts

  • Download Gist
remove-scripts.php
PHP
1 2 3 4 5 6
<?php
add_action('wp_enqueue_scripts', 'tribe_remove_javascript');
function tribe_remove_javascript() {
wp_dequeue_script('sp-events-pjax');
wp_dequeue_script('sp-events-calendar-script');
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.