Title: tribe_get_ical_link
Last modified: January 14, 2026

---

# tribe_get_ical_link

 *  Resolved [itld](https://wordpress.org/support/users/itld/)
 * (@itld)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/)
 * Hello ALL !
 * The Events Calendar Extension: Advanced iCal Export
 * Requires at least: 4.5
   Tested up to: 5.2.3Requires PHP: 5.6
 *  If **both start and end date** are defined, e.g. from July 1, 2017 until June
   30, 2018: [http://example.com/events/?ical=1&tribe_display=custom&start_date=2017-07-01&end_date=2018-06-30](http://example.com/events/?ical=1&tribe_display=custom&start_date=2017-07-01&end_date=2018-06-30)
 * but I get full data ( i.e. for 2026)
 * I’m using function tribe_get_ical_link() [ Events Calendar 6.11.2 PHP 7.4.33]
 * Best regards, Andrew

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18785584)
 * Hi [@itld](https://wordpress.org/support/users/itld/)
 * Thanks for reaching out! Could you please try using this extension and let us
   know if it helps resolve the issue?
 * [https://theeventscalendar.com/extensions/advanced-ical-export-v2/](https://theeventscalendar.com/extensions/advanced-ical-export-v2/)
 *  Thread Starter [itld](https://wordpress.org/support/users/itld/)
 * (@itld)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18785639)
 * help arrived on time))
 * I made any changing (as say AI)
 * >     ```wp-block-code
   >     OLD private function getVars_old() {$filters = ['ical' => FILTER_SANITIZE_NUMBER_INT,'custom' => FILTER_SANITIZE_STRING,'start_date' => FILTER_SANITIZE_STRING,'end_date' => FILTER_SANITIZE_STRING,'limit' => FILTER_SANITIZE_NUMBER_INT,'year' => FILTER_SANITIZE_NUMBER_INT,'category' => FILTER_SANITIZE_STRING,];    $vars = filter_input_array( INPUT_GET, $filters );    return $vars;}NEW private function getVars() {$filters = [    'ical'       => FILTER_SANITIZE_NUMBER_INT,    'custom'     => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING    'start_date' => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING    'end_date'   => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING    'limit'      => FILTER_SANITIZE_NUMBER_INT,    'year'       => FILTER_SANITIZE_NUMBER_INT,    'category'   => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING];$vars = filter_input_array(INPUT_GET, $filters);return $vars;
   >     ```
   > 
   > }
 * but I still don’t get the selection I need.
 * [http://localhost/domains/Expo/events/](http://localhost/domains/Expo/events/)**?
   ical=1&&custom=1&start_date=2026-02-01&end_date=2026-02-10**
 * the same (other data)
 * [http://localhost/domains/Expo/events/?ical=1&&custom=1&start_date=2026-03-01&end_date=2026-03-10](http://localhost/domains/Expo77/events/?ical=1&&custom=1&start_date=2026-02-01&end_date=2026-02-10)
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18788697)
 * I tested this on my end, and it appears to be working using this extension: [Advanced iCal Export v2](https://theeventscalendar.com/extensions/advanced-ical-export-v2/).
 * If you already have it installed, the issue may be with your URL. Try using the
   following examples instead:
 * [http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-03-01&end_date=2026-03-10](http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-03-01&end_date=2026-03-10)
 * [http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-02-01&end_date=2026-02-10](http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-02-01&end_date=2026-02-10)
 * I removed the extra `&` that was between `ical=1` and `custom=1`.”
 *  Thread Starter [itld](https://wordpress.org/support/users/itld/)
 * (@itld)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18789444)
 * I reinstall again and get 
   **Deprecated**: Constant FILTER_SANITIZE_STRING is
   deprecated in **C:\xampp\htdocs\domains\Expo77\wp-content\plugins\tec-labs-advanced-
   ical-export-v2\src\Tec\Plugin.php** on line **262****Deprecated**: Constant FILTER_SANITIZE_STRING
   is deprecated in **C:\xampp\htdocs\domains\Expo77\wp-content\plugins\tec-labs-
   advanced-ical-export-v2\src\Tec\Plugin.php** on line **263**
 * and etc …..
 * + get .ICS
 * BEGIN:VEVENT
   DTSTART;TZID=Europe/Moscow:20251205T093000DTEND;TZID=Europe/Moscow:
   20260308T233000
 * although filtr is [start_date=2026-03-01&end_date=2026-03-10](http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-03-01&end_date=2026-03-10)
   or any others
 * my PHP Version 8.2.12
 * TEC 6.15.13.1
 * v2 1.1.1
 *  Thread Starter [itld](https://wordpress.org/support/users/itld/)
 * (@itld)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18789460)
 * WOW!! )) working on server
 * [https://expo77.ru/events/](https://expo77.ru/events/)**list/?ical=1&custom=1&
   start_date=2026-05-01&end_date=2026-05-10**
 * so working by &Category=slug
 * and will be nice if exist select by Venue & Organizers ))
 *  Very Thank you !
 * localhost – not main
    -  This reply was modified 3 months ago by [itld](https://wordpress.org/support/users/itld/).
      Reason: add new
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18790211)
 * That’s great to hear, [@itld](https://wordpress.org/support/users/itld/) !
 * I’ll be sure to share your feedback about having venue & organizer filters for
   the iCal export with our products team for consideration in their future roadmap.
 * I’d be closing this thread now, but please do not hesitate to bump a new thread
   on our way if you have further questions/concerns. This is for us to track down
   topics/issues efficiently and for us to adhere to the [WordPress Forum Guidelines](https://wordpress.org/support/guidelines/).

Viewing 6 replies - 1 through 6 (of 6 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftribe_get_ical_link%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [ical](https://wordpress.org/support/topic-tag/ical/)

 * 6 replies
 * 3 participants
 * Last reply from: [tristan083](https://wordpress.org/support/users/tristan083/)
 * Last activity: [3 months ago](https://wordpress.org/support/topic/tribe_get_ical_link/#post-18790211)
 * Status: resolved