'exclude_from_preload_calendars', ]; } /** * Exclude calendars from the preload. * * @param array $excluded excluded urls. * @return array */ public function exclude_from_preload_calendars( $excluded ) { if ( ! function_exists( 'tribe_get_option' ) ) { return $excluded; } $uri = tribe_get_option( 'eventsSlug', 'event' ); $excluded[] = "/$uri/20(.*)"; return $excluded; } }