If you’d prefer not to include event descriptions in calendar exports, you can use the filters below to remove the content from all supported export formats. This applies to:

  • Outlook 365
  • Google Calendar
  • iCalendar (.ics)
  • Outlook Live

What This Does

These filters will clear the description or body fields for each platform, so that attendees only see the event title, time, and other basic details, without the full description content.

Step-by-Step: Add These Filters to Your Site

You can add the following code snippet to your theme’s functions.php file or via a custom functionality plugin like WP Code:

// Remove description from Outlook 365 export
add_filter( 'tec_events_ical_outlook_single_event_import_url', function ( $url, $base_url, $params ) {
    $params['body'] = '';
    return add_query_arg( $params, $base_url );
}, 10, 3 );

// Remove description from Google Calendar export
add_filter( 'tec_views_v2_single_event_gcal_link_parameters', function ( $pieces, $event ) {
    $pieces['details'] = '';
    return $pieces;
}, 10, 2 );

// Remove description from iCal / ICS exports
add_filter( 'tribe_ical_feed_item', function ( $item, $event ) {
    $item['DESCRIPTION'] = 'DESCRIPTION:';
    return $item;
}, 10, 2 );

Result

With these filters in place:

  • The description field will be blank when someone exports an event to any of the supported calendar tools.
  • All other event details (like title, time, and location) will remain intact.

Need Help?

If you’re unsure where or how to add this code, we recommend checking out this article on how to implement custom snippets on your website.