Created
October 27, 2014 15:48
-
-
Save jesseeproductions/486ac10c8a7e3b246660 to your computer and use it in GitHub Desktop.
Remove Ajax from The Events Calendar Pagination on Month, List, and Day Views
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
/* | |
* Remove Ajax from The Events Calendar Pagination on Month, List, and Day Views | |
* @3.8 | |
* | |
*/ | |
add_action('wp_print_scripts', 'events_calendar_remove_scripts' , 10); | |
function events_calendar_remove_scripts() { | |
wp_dequeue_script( 'tribe-events-calendar'); | |
wp_dequeue_script( 'tribe-events-list'); | |
wp_dequeue_script( 'tribe-events-ajax-day'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment