WordPress

Disable AJAX pagination for The Events Calendar

/*
* 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');   
 
}