Created
December 14, 2017 14:36
-
-
Save cliffordp/0da84c8596a04af3e7409afa62521273 to your computer and use it in GitHub Desktop.
The Events Calendar: Override the default iCal export to be more than 30 upcoming events (only affects List, Map, and Photo 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
<?php | |
/** | |
* The Events Calendar: Override the default iCal export to be more than 30 | |
* upcoming events (only affects List, Map, and Photo views). | |
* | |
* The iCal exports for Month, Week, and Day views match their actual displays. | |
* | |
* @link https://gist.github.com/cliffordp/0da84c8596a04af3e7409afa62521273 | |
* | |
* @return int | |
*/ | |
add_filter( 'tribe_ical_feed_posts_per_page', function(){ | |
return 1000; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment