{"id":1007967,"date":"2015-09-23T11:48:21","date_gmt":"2015-09-23T18:48:21","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/"},"modified":"2015-09-25T10:34:24","modified_gmt":"2015-09-25T17:34:24","slug":"filter-wootickets_email_message-not-changing-the-message","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/","title":{"rendered":"Filter: &quot;wootickets_email_message&quot; not changing the message"},"content":{"rendered":"<p>I was helped by Brian a few weeks ago, and he provided me the correct filter to use. However, since then we&#8217;ve received 2 new orders and both customers promptly emailed us back asking where their followup ticket email was (Due to the default WooTickets email that state that the tickets will be sent in another email.)<\/p>\n<p>The message we&#8217;d like is in the code snippet below, which is un-working. <\/p>\n<p>The code was placed in functions.php of our child theme. Please review the code and let us know if there&#8217;s anything we did that would prevent it from working, or if not then what else could be the culprit. As an additional measure, where can we override the call to this hook in the plugin file if this does not work? [We had overriden this message in plugin files a few versions ago and have kept changing it after theme updates; however a recent theme release made that hack unworkable, likely due to a change in the plugin framework.]<\/p>\n<p>Thank you for your help. Below is the code we are attempting to use:<\/p>\n<pre><code>add_filter( &#039;wootickets_email_message&#039;, &#039;sdn_wootickets_filter_completed_order&#039;, 10 );\nfunction sdn_wootickets_filter_completed_order ( $text ) {\n\n\t$text = &quot;Thank you for your purchase. Course times and dates are listed on the course information page from where you placed your order. Find your course on the course listing page. You may also find detailed course info on this page. We look forward to seeing you!&quot;;\n \n\treturn $text;\n\n} \/\/ sdn_wootickets_filter_completed_order ( $text )<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1007967","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Filter: &quot;wootickets_email_message&quot; not changing the message -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Filter: &quot;wootickets_email_message&quot; not changing the message -\" \/>\n<meta property=\"og:description\" content=\"I was helped by Brian a few weeks ago, and he provided me the correct filter to use. However, since then we&#8217;ve received 2 new orders and both customers promptly emailed us back asking where their followup ticket email was (Due to the default WooTickets email that state that the tickets will be sent in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-25T17:34:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/\",\"name\":\"Filter: &quot;wootickets_email_message&quot; not changing the message -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-09-23T18:48:21+00:00\",\"dateModified\":\"2015-09-25T17:34:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Filter: &quot;wootickets_email_message&quot; not changing the message\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Filter: &quot;wootickets_email_message&quot; not changing the message -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/","og_locale":"en_US","og_type":"article","og_title":"Filter: &quot;wootickets_email_message&quot; not changing the message -","og_description":"I was helped by Brian a few weeks ago, and he provided me the correct filter to use. However, since then we&#8217;ve received 2 new orders and both customers promptly emailed us back asking where their followup ticket email was (Due to the default WooTickets email that state that the tickets will be sent in [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/","article_modified_time":"2015-09-25T17:34:24+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/","name":"Filter: &quot;wootickets_email_message&quot; not changing the message -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-09-23T18:48:21+00:00","dateModified":"2015-09-25T17:34:24+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/filter-wootickets_email_message-not-changing-the-message\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Filter: &quot;wootickets_email_message&quot; not changing the message"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1007967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1007967\/revisions"}],"predecessor-version":[{"id":1008322,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1007967\/revisions\/1008322"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1007967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}