{"id":1966369,"date":"2025-08-18T09:28:49","date_gmt":"2025-08-18T13:28:49","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1966369"},"modified":"2025-08-18T09:28:57","modified_gmt":"2025-08-18T13:28:57","slug":"how-to-remove-event-descriptions-from-all-calendar-exports","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-remove-event-descriptions-from-all-calendar-exports\/","title":{"rendered":"How to Remove Event Descriptions from All Calendar Exports"},"content":{"rendered":"\n<p>If you\u2019d 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:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Outlook 365<\/li>\n\n\n\n<li>Google Calendar<\/li>\n\n\n\n<li>iCalendar (.ics)<\/li>\n\n\n\n<li>Outlook Live<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-this-does\">What This Does<\/h3>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-by-step-add-these-filters-to-your-site\">Step-by-Step: Add These Filters to Your Site<\/h3>\n\n\n\n<p>You can add the following code snippet to your theme\u2019s <code>functions.php<\/code> file or via a custom functionality plugin like <a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\">WP Code<\/a>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/\/ Remove description from Outlook 365 export\nadd_filter( &#039;tec_events_ical_outlook_single_event_import_url&#039;, function ( $url, $base_url, $params ) {\n    $params&#x5B;&#039;body&#039;] = &#039;&#039;;\n    return add_query_arg( $params, $base_url );\n}, 10, 3 );\n\n\/\/ Remove description from Google Calendar export\nadd_filter( &#039;tec_views_v2_single_event_gcal_link_parameters&#039;, function ( $pieces, $event ) {\n    $pieces&#x5B;&#039;details&#039;] = &#039;&#039;;\n    return $pieces;\n}, 10, 2 );\n\n\/\/ Remove description from iCal \/ ICS exports\nadd_filter( &#039;tribe_ical_feed_item&#039;, function ( $item, $event ) {\n    $item&#x5B;&#039;DESCRIPTION&#039;] = &#039;DESCRIPTION:&#039;;\n    return $item;\n}, 10, 2 );\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-result\">Result<\/h3>\n\n\n\n<p>With these filters in place:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>description field will be blank<\/strong> when someone exports an event to any of the supported calendar tools.<\/li>\n\n\n\n<li>All other event details (like title, time, and location) will remain intact.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-need-help\">Need Help?<\/h3>\n\n\n\n<p>If you\u2019re unsure where or how to add this code, we recommend checking out this article on how to implement <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/best-practices-for-implementing-custom-code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">custom <\/a><a href=\"https:\/\/share.zight.com\/GGuj6n2o\">snippets <\/a>on your website.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019d 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: 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&#8230;<\/p>\n","protected":false},"author":64,"featured_media":1955565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,59,79],"tags":[25,58],"stellar-product-taxonomy":[158,161],"class_list":["post-1966369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-customizing-resources","category-snippets","tag-customizations","tag-php","stellar-product-taxonomy-events-calendar-pro","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":59,"label":"PHP &amp; Functions"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"}],"stellar-product-taxonomy":[{"value":158,"label":"Events Calendar Pro"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jes","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/jes\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":59,"name":"PHP &amp; Functions","slug":"customizing-resources","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":101,"filter":"raw","term_order":"0","cat_ID":59,"category_count":101,"category_description":"","cat_name":"PHP &amp; Functions","category_nicename":"customizing-resources","category_parent":24},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":136,"filter":"raw","term_order":"0","cat_ID":79,"category_count":136,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":128,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1966369"}],"version-history":[{"count":3,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966369\/revisions"}],"predecessor-version":[{"id":1966514,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966369\/revisions\/1966514"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1966369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1966369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1966369"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1966369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}