Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('tribe_events_list_show_ical_link', 'avoid_ical_404s');
- function avoid_ical_404s() {
- return ( $GLOBALS['wp_query']->post_count > 0 );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement