{"id":1177647,"date":"2016-10-17T07:28:52","date_gmt":"2016-10-17T14:28:52","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/"},"modified":"2016-10-17T07:28:52","modified_gmt":"2016-10-17T14:28:52","slug":"custom-columns-on-attendees-list","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/","title":{"rendered":"Custom Columns on Attendees List"},"content":{"rendered":"<p>Good morning!<\/p>\n<p>We have some custom code in our theme to add additional data to the attendees table, but it seems to have stopped working after the 4.3 update. I can&#8217;t find anything suggesting that the code needs to change, but I&#8217;m not sure what is wrong with it. <\/p>\n<p>Here is the code we are using: <\/p>\n<pre><code>add_filter( &#039;manage_tribe_events_page_tickets-attendees_columns&#039;, &#039;add_cof_custom_attendee_column&#039;, 100 );\n\nfunction add_cof_custom_attendee_column( $columns ) {\n    unset($columns[&#039;purchaser_email&#039;]);\n    unset($columns[&#039;purchaser_name&#039;]);\n    unset($columns[&#039;order_status&#039;]);\n    unset($columns[&#039;attendee_id&#039;]);\n    unset($columns[&#039;security&#039;]);\n    unset($columns[&#039;order_id&#039;]);\n    unset($columns[&#039;cb&#039;]);\n\n    $column_meta = array(\n        &#039;attendee_name&#039;=&gt;&#039;Attendee Name&#039;,\n        &#039;status&#039;=&gt;&#039;Status&#039;,\n        &#039;total&#039; =&gt;  &#039;Total Paid&#039;\n    );\n    $columns = array_slice( $columns, 0, 0, true ) + $column_meta + array_slice( $columns, 0, NULL, true );\n    $column_meta = array(\n        &#039;purchaser_name&#039;  =&gt;  &#039;Purchaser Name&#039;,\n        &#039;transaction_id&#039;  =&gt;  &#039;Transaction ID&#039;,\n    );\n    $columns = array_slice( $columns, 0, 4, true ) + $column_meta + array_slice( $columns, 4, NULL, true );\n    return $columns;\n}<\/code><\/pre>\n<p>I have tried deactivating plugins, but the custom columns just won&#8217;t show up. <\/p>\n","protected":false},"template":"","class_list":["post-1177647","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>Custom Columns on Attendees List -<\/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\/custom-columns-on-attendees-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Columns on Attendees List -\" \/>\n<meta property=\"og:description\" content=\"Good morning! We have some custom code in our theme to add additional data to the attendees table, but it seems to have stopped working after the 4.3 update. I can&#8217;t find anything suggesting that the code needs to change, but I&#8217;m not sure what is wrong with it. Here is the code we are [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/\" \/>\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\/custom-columns-on-attendees-list\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/\",\"name\":\"Custom Columns on Attendees List -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-10-17T14:28:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/#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\":\"Custom Columns on Attendees List\"}]},{\"@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":"Custom Columns on Attendees List -","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\/custom-columns-on-attendees-list\/","og_locale":"en_US","og_type":"article","og_title":"Custom Columns on Attendees List -","og_description":"Good morning! We have some custom code in our theme to add additional data to the attendees table, but it seems to have stopped working after the 4.3 update. I can&#8217;t find anything suggesting that the code needs to change, but I&#8217;m not sure what is wrong with it. Here is the code we are [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/","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\/custom-columns-on-attendees-list\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/","name":"Custom Columns on Attendees List -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-10-17T14:28:52+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-columns-on-attendees-list\/#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":"Custom Columns on Attendees List"}]},{"@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\/1177647","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1177647\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1177647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}