{"id":1011373,"date":"2015-10-05T05:05:34","date_gmt":"2015-10-05T12:05:34","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/"},"modified":"2015-10-21T07:05:03","modified_gmt":"2015-10-21T14:05:03","slug":"snippet-or-function-to-hide-the-ticket-header-in-the-backend","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/","title":{"rendered":"Snippet or function to hide the Ticket Header in the backend?"},"content":{"rendered":"<p>Hi there, I was just wondering if there was a snippet or function that could be added to the functions.php file to hide the ticket header message and upload field in the backend of Woocommerce tickets. The reason I ask is because my users who are creating event tickets tend to add a header image from time to time but what I have discovered is that when attendees arrive at the events with their mobile phones it just tends to be a frustration when viewing the ticket on the mobile screen than a help so I would just like to hide this altogether with a function is possible. This would be very handy indeed.<\/p>\n<p>To be clear its the header image field on a ticket and the message &#8221; Upload image for the ticket header. The maximum image size in the email will be 580px wide by any height, and then scaled for mobile. If you would like &#8220;retina&#8221; support use an image sized to 1160px wide.&#8221;<\/p>\n<p>Thanks in advance.<\/p>\n","protected":false},"template":"","class_list":["post-1011373","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>Snippet or function to hide the Ticket Header in the backend? -<\/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\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Snippet or function to hide the Ticket Header in the backend? -\" \/>\n<meta property=\"og:description\" content=\"Hi there, I was just wondering if there was a snippet or function that could be added to the functions.php file to hide the ticket header message and upload field in the backend of Woocommerce tickets. The reason I ask is because my users who are creating event tickets tend to add a header image [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-21T14:05:03+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\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/\",\"name\":\"Snippet or function to hide the Ticket Header in the backend? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-10-05T12:05:34+00:00\",\"dateModified\":\"2015-10-21T14:05:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/#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\":\"Snippet or function to hide the Ticket Header in the backend?\"}]},{\"@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":"Snippet or function to hide the Ticket Header in the backend? -","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\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/","og_locale":"en_US","og_type":"article","og_title":"Snippet or function to hide the Ticket Header in the backend? -","og_description":"Hi there, I was just wondering if there was a snippet or function that could be added to the functions.php file to hide the ticket header message and upload field in the backend of Woocommerce tickets. The reason I ask is because my users who are creating event tickets tend to add a header image [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/","article_modified_time":"2015-10-21T14:05:03+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\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/","name":"Snippet or function to hide the Ticket Header in the backend? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-10-05T12:05:34+00:00","dateModified":"2015-10-21T14:05:03+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/snippet-or-function-to-hide-the-ticket-header-in-the-backend\/#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":"Snippet or function to hide the Ticket Header in the backend?"}]},{"@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\/1011373","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":3,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1011373\/revisions"}],"predecessor-version":[{"id":1011632,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1011373\/revisions\/1011632"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1011373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}