{"id":1947960,"date":"2020-08-24T04:28:46","date_gmt":"2020-08-24T08:28:46","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1947960"},"modified":"2026-04-02T17:18:49","modified_gmt":"2026-04-02T21:18:49","slug":"changing-the-term-virtual-events","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/changing-the-term-virtual-events\/","title":{"rendered":"Changing the Terms for Virtual and Hybrid Events"},"content":{"rendered":"\n<p>Looking to change the wording of &#8220;virtual events&#8221; or &#8220;hybrid events&#8221; to something else?  You can totally do that by adding a filter that will suit your needs.  Read on to find out more.<\/p>\n\n\n\n<p>We have a bunch of new template tags that allow us to change any part of the virtual events label:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>tribe_get_virtual_label<\/code>: This will change the term &#8220;Virtual&#8221;<\/li><li><code>tribe_get_virtual_lowercase<\/code>: This will change the term &#8220;virtual&#8221;<\/li><li><code>tribe_get_virtual_event_label_singular<\/code>: This will change the term &#8220;Virtual Event&#8221;<\/li><li><code>tribe_get_virtual_event_label_singular_lowercase<\/code>: This will change the term &#8220;virtual event&#8221;<\/li><li><code>tribe_get_virtual_event_label_plural<\/code>: This will change the term &#8220;Virtual Events&#8221;<\/li><li><code>tribe_get_virtual_event_label_plural_lowercase<\/code>: This will change the term &#8220;virtual events&#8221;<\/li><li><code>tribe_hybrid_label<\/code>: This will change the term &#8220;hybrid&#8221;<\/li><li><code>tribe_hybrid_label_singular<\/code>: This will change the term &#8220;Hybrid Event&#8221;<\/li><\/ul>\n\n\n\n<p>Inside each of those template tags is a filter by a similar name, so we&#8217;ll want to know which of these we&#8217;d like to change.  In most cases, we&#8217;ll want to change all of them so that the verbiage stays consistent across all of our virtual events.<\/p>\n\n\n\n<p>We can also change the global &#8220;events&#8221; term, so a combination of filters can work here as well if we&#8217;d like the term &#8220;events&#8221; to be different everywhere on our site. We have an article about that here: <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/changing-the-term-events\/\" target=\"_blank\" rel=\"noreferrer noopener\">Changing the term \u201cEvent(s)\u201d<\/a>. But the important part is that <em>if you use those filters to change the global event(s) term then the terms will change here as well &#8211; automatically.<\/em><\/p>\n\n\n\n<p>So if we set \u201cEvent\u201d via the filter&nbsp;<code>tribe_event_label_singular<\/code> to \u201cWebinar\u201d that will propagate to the function&nbsp;<code>tribe_get_virtual_event_label_singular<\/code>  which will return &#8220;Virtual Webinar&#8221;. The similarity in naming is intentional to help us associate them.<\/p>\n\n\n\n<p>It&#8217;s also worth mentioning that the same caveats about translations from that article apply to these filters as well! The filters are applied <strong>after<\/strong> translation!<\/p>\n\n\n\n<p>As a first example, to alter the capitalized version of the &#8220;Virtual&#8221; term add the following to our theme&#8217;s functions.php file:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tribe_virtual_label&#039;, function(){ return &#039;Online&#039;} ); \n<\/pre><\/div>\n\n\n<p>To alter the lowercase version of the &#8220;virtual&#8221; term, add this to our theme functions.php:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tribe_virtual_label_lowercase&#039;, function() { return &#039;online&#039;} ); \n<\/pre><\/div>\n\n\n<p>Note that these snippets also change the phrase &#8220;virtual events&#8221; to &#8220;online events&#8221; and &#8220;Virtual Events&#8221; to &#8220;Online Events&#8221;.<\/p>\n\n\n\n<p>But let&#8217;s say we want to change the term &#8220;Virtual Event&#8221; to &#8220;Webinar&#8221; (dropping the &#8220;event&#8221; term). Use&nbsp;<code>tribe_virtual_event_label_singular<\/code>&nbsp;and it will override \u201cVirtual Event\u201d to \u201cWebinars\u201d.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tribe_virtual_event_label_singular&#039;, function(){ return &#039;Webinars&#039;} );\n<\/pre><\/div>\n\n\n<p>It&#8217;s worth mentioning that these only change the <em>front-end<\/em> usage of these terms &#8211; for some clarity we decided to limit changing the term in the admin.<\/p>\n\n\n\n<p>So as a recap:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/\/ This will change all uses of the word &quot;Virtual&quot; to &quot;Online.\n\/\/ It will also change all uses of the term &quot;Virtual Events&quot; to &quot;Online Events&quot;.\nadd_filter( &#039;tribe_virtual_label&#039;, function() { return &#039;Online&#039;; } );\n\n\/\/ This will change all uses of the word &quot;virtual&quot; to &quot;online.\n\/\/ It will also change all uses of the term &quot;virtual events&quot; to &quot;online events&quot;.\nadd_filter( &#039;tribe_virtual_label_lowercase&#039;, function() { return &#039;online&#039;; } );\n\n\/\/ This will change all uses of the term &quot;Virtual Event&quot; to &quot;Webinar&quot;.\nadd_filter( &#039;tribe_virtual_event_label_singular&#039;, function() { return &#039;Webinar&#039;; } );\n\n\/\/ This will change all uses of the term &quot;virtual event&quot; to &quot;webinar&quot;.\nadd_filter( &#039;tribe_virtual_event_label_singular_lowercase&#039;, function() { return &#039;webinar&#039;; } );\n\n\/\/ This will change all uses of the term &quot;Virtual Events&quot; to &quot;Webinars&quot;.\nadd_filter( &#039;tribe_virtual_event_label_plural&#039;, function() { return &#039;Webinars&#039;; } );\n\n\/\/ This will change all uses of the term &quot;virtual events&quot; to &quot;webinars&quot;.\nadd_filter( &#039;tribe_virtual_event_label_plural_lowercase&#039;, function() { return &#039;webinars&#039;; } );\n<\/pre><\/div>\n\n\n<p>One last one for funsies:<\/p>\n\n\n\n<p>What if we want to change the event term &#8211; but only for virtual events (getting a bit sneaky here!) and we don&#8217;t want to change the &#8220;virtual&#8221; term? (we&#8217;ve broken up the code a bit so you can see what we&#8217;re doing a bit better)<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/\/ This will change all uses of the term &quot;Virtual Event&quot; to &quot;Virtual Classroom&quot;.\nadd_filter(\n\t&#039;tribe_virtual_event_label_singular&#039;,\n\tfunction() {\n\t\treturn tribe_get_virtual_label() . &#039;Classroom&#039;;\n\t}\n);\n\n\/\/ This will change all uses of the term &quot;virtual event&quot; to &quot;virtual classroom&quot;.\nadd_filter(\n\t&#039;tribe_virtual_event_label_singular_lowercase&#039;,\n\tfunction() {\n\t\treturn tribe_get_virtual_label_lowercase() . &#039;classroom&#039;;\n\t}\n);\n\n\/\/ This will change all uses of the term &quot;Virtual Events&quot; to &quot;Virtual Classrooms&quot;.\nadd_filter(\n\t&#039;tribe_virtual_event_label_plural&#039;,\n\tfunction() {\n\t\treturn tribe_get_virtual_label() . &#039;Classrooms&#039;;\n\t}\n);\n\n\/\/ This will change all uses of the term &quot;virtual events&quot; to &quot;virtual classrooms&quot;.\nadd_filter(\n\t&#039;tribe_virtual_event_label_plural_lowercase&#039;,\n\tfunction() {\n\t\treturn tribe_get_virtual_label_lowercase() . &#039;classrooms&#039;;\n\t}\n);\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Looking to change the wording of &#8220;virtual events&#8221; or &#8220;hybrid events&#8221; to something else? You can totally do that by adding a filter that will suit your needs. Read on to find out more. We have a bunch of new template tags that allow us to change any part of the virtual events label: tribe_get_virtual_label:&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","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":[79],"tags":[25],"stellar-product-taxonomy":[162],"class_list":["post-1947960","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-snippets","tag-customizations","stellar-product-taxonomy-virtual-events"],"acf":[],"taxonomy_info":{"category":[{"value":79,"label":"Snippets"}],"post_tag":[{"value":25,"label":"Customizations"}],"stellar-product-taxonomy":[{"value":162,"label":"Virtual Events"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":80,"filter":"raw","term_order":"0","cat_ID":79,"category_count":80,"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":102,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1947960"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947960\/revisions"}],"predecessor-version":[{"id":1968430,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947960\/revisions\/1968430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1947960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1947960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1947960"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1947960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}