{"id":1966454,"date":"2025-08-30T03:44:49","date_gmt":"2025-08-30T07:44:49","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1966454"},"modified":"2025-08-30T03:44:49","modified_gmt":"2025-08-30T07:44:49","slug":"how-to-change-the-get-notified-when-tickets-becomes-available-text-in-event-tickets-plus","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-change-the-get-notified-when-tickets-becomes-available-text-in-event-tickets-plus\/","title":{"rendered":"How to Change the \u201cGet notified when tickets becomes available\u201d Text in Event Tickets Plus"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>If you need to correct the grammar in the \u201cGet notified when tickets becomes available\u201d message to \u201cbecome available,\u201d you can update it in two ways: using <strong>Loco Translate<\/strong> or by adding a <strong>custom PHP snippet<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-1-change-the-text-using-loco-translate\">Option 1: Change the Text Using Loco Translate<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In your WordPress dashboard, go to <strong>Loco Translate \u2192 Plugins<\/strong>.<\/li>\n\n\n\n<li>Find and click on <strong>Event Tickets Plus<\/strong>.<\/li>\n\n\n\n<li>Select the <strong>English <\/strong>language file.<\/li>\n\n\n\n<li>Click the <strong>Sync<\/strong> button to ensure all strings are up to date.<\/li>\n\n\n\n<li>In the search field, type the exact text:<br><code>Get notified when tickets becomes available<\/code><\/li>\n\n\n\n<li>Select the result and update it to:<br><code>Get notified when tickets become available<\/code><\/li>\n\n\n\n<li>Save your changes.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" data-id=\"1966624\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/08\/Loco-Translate-1xx-1024x654.jpg\" alt=\"\" class=\"wp-image-1966624\" style=\"border-width:1px\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/08\/Loco-Translate-1xx-1024x654.jpg 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/08\/Loco-Translate-1xx-300x192.jpg 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/08\/Loco-Translate-1xx-768x490.jpg 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/08\/Loco-Translate-1xx.jpg 1173w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Notice:<\/strong> While this example uses English, you can use the exact same method for any other language. Just select the appropriate language file in step 3.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-2-change-the-text-using-custom-php-snippet\">Option 2: Change the Text Using Custom PHP Snippet<\/h2>\n\n\n\n<p>If you prefer not to use a translation plugin, you can override this text programmatically.<\/p>\n\n\n\n<p>Add the following code to your theme\u2019s <strong>functions.php<\/strong> file or a site-specific plugin:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nfunction tribe_replace_strings() {\n    $custom_text = &#x5B;\n        &#039;Get notified when tickets becomes available&#039; =&gt; &#039;Get notified when tickets become available&#039;,\n    ];\n \n    return $custom_text;\n}\n \n \n \nfunction tribe_custom_theme_text ( $translation, $text, $domain ) {\n    \/\/ If this text domain doesn&#039;t start with &quot;tribe-&quot;, &quot;the-events-&quot;, or &quot;event-&quot; bail.\n    if ( ! check_if_tec_domains( $domain ) ) {\n        return $translation;\n    }\n \n    \/\/ String replacement.\n    $custom_text = tribe_replace_strings();\n \n    \/\/ If we don&#039;t have replacement text in our array, return the original (translated) text.\n    if ( empty( $custom_text&#x5B;$translation] ) ) {\n        return $translation;\n    }\n \n    return $custom_text&#x5B;$translation];\n}\n \n \n \nfunction tribe_custom_theme_text_plurals ( $translation, $single, $plural, $number, $domain ) {\n    \/\/ If this text domain doesn&#039;t start with &quot;tribe-&quot;, &quot;the-events-&quot;, or &quot;event-&quot; bail.\n    if ( ! check_if_tec_domains( $domain ) ) {\n        return $translation;\n    }\n \n    \/\/ If we&#039;re not doing any logic up above, just make sure your desired changes are in the $custom_text array above (in the `tribe_custom_theme_text` filter. )\n    if ( 1 === $number ) {\n        return tribe_custom_theme_text ( $translation, $single, $domain );\n    } else {\n        return tribe_custom_theme_text ( $translation, $plural, $domain );\n    }\n}\n \n \n \nfunction tribe_custom_theme_text_with_context ( $translation, $text, $context, $domain ) {\n    \/\/ If this text domain doesn&#039;t start with &quot;tribe-&quot;, &quot;the-events-&quot;, or &quot;event-&quot; bail.\n    if ( ! check_if_tec_domains( $domain ) ) {\n        return $translation;\n    }\n \n    \/\/ If we&#039;re not doing any logic up above, just make sure your desired changes are in the $custom_text array above (in the `tribe_custom_theme_text` filter. )\n    return tribe_custom_theme_text ( $translation, $text, $domain );\n}\n \n \n \nfunction tribe_custom_theme_text_plurals_with_context ( $translation, $single, $plural, $number, $context, $domain ) {\n    \/\/ If this text domain doesn&#039;t start with &quot;tribe-&quot;, &quot;the-events-&quot;, or &quot;event-&quot; bail.\n    if ( ! check_if_tec_domains( $domain ) ) {\n        return $translation;\n    }\n \n    \/\/ If we&#039;re not doing any logic up above, just make sure your desired changes are in the $custom_text array above (in the `tribe_custom_theme_text` filter. )\n    if ( 1 === $number ) {\n        return tribe_custom_theme_text ( $translation, $single, $domain );\n    } else {\n        return tribe_custom_theme_text ( $translation, $plural, $domain );\n    }\n}\n \nfunction check_if_tec_domains( $domain ) {\n    $is_tribe_domain = strpos( $domain, &#039;tribe-&#039; )      === 0;\n    $is_tec_domain   = strpos( $domain, &#039;the-events-&#039; ) === 0;\n    $is_event_domain = strpos( $domain, &#039;event-&#039; )      === 0;\n \n    \/\/ If this text domain doesn&#039;t start with &quot;tribe-&quot;, &quot;the-events-&quot;, or &quot;event-&quot; bail.\n    if ( ! $is_tribe_domain &amp;&amp; ! $is_tec_domain &amp;&amp; ! $is_event_domain ) {\n        return false;\n    }\n \n    return true;\n}\n \n\/\/ Base.\nadd_filter( &#039;gettext&#039;, &#039;tribe_custom_theme_text&#039;, 20, 3 );\n\/\/ Translations with context.\nadd_filter( &#039;gettext_with_context&#039;, &#039;tribe_custom_theme_text_with_context&#039;, 20, 4 );\n<\/pre><\/div>\n\n\n<p>This code finds the original string and replaces it with your corrected text wherever it appears in Event Tickets Plus.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-summary\">Summary<\/h3>\n\n\n\n<p>You can fix the text using either <strong>Loco Translate<\/strong> for a quick point-and-click method, or <strong>custom PHP code<\/strong> for a lightweight, plugin-free approach. The Loco Translate method is recommended for non-developers, while the PHP snippet is ideal for developers who want full control over text changes without relying on a translation plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you need to correct the grammar in the \u201cGet notified when tickets becomes available\u201d message to \u201cbecome available,\u201d you can update it in two ways: using Loco Translate or by adding a custom PHP snippet. Option 1: Change the Text Using Loco Translate Notice: While this example uses English, you can use the exact&#8230;<\/p>\n","protected":false},"author":48,"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,273],"stellar-product-taxonomy":[156],"class_list":["post-1966454","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-customizing-resources","category-snippets","tag-customizations","tag-event-tickets-plus","stellar-product-taxonomy-event-tickets-plus"],"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":273,"label":"Event Tickets Plus"}],"stellar-product-taxonomy":[{"value":156,"label":"Event Tickets Plus"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Paul Acido","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/paulacido\/"},"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":273,"name":"Event Tickets Plus","slug":"event-tickets-plus","term_group":0,"term_taxonomy_id":273,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966454","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\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1966454"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966454\/revisions"}],"predecessor-version":[{"id":1966625,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966454\/revisions\/1966625"}],"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=1966454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1966454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1966454"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1966454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}