{"id":689273,"date":"2014-08-21T09:18:30","date_gmt":"2014-08-21T16:18:30","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/"},"modified":"2014-08-25T17:15:17","modified_gmt":"2014-08-26T00:15:17","slug":"additional-columns-in-the-attendees-list-csv-export","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/","title":{"rendered":"Additional Columns in the Attendees list CSV export"},"content":{"rendered":"<p>I&#8217;m trying to include some additional fields in the Attendees CSV export.<br \/>\nI managed to get the fields I want to show up in the Attendees list table using a customized version of the script below that I found while searching this form:<\/p>\n<p>add_filter( &#8216;manage_tribe_events_page_tickets-attendees_columns&#8217;, &#8216;add_my_custom_attendee_column&#8217;, 20 );<br \/>\nadd_filter( &#8216;tribe_events_tickets_attendees_table_column&#8217;, &#8216;populate_my_custom_attendee_column&#8217;, 10, 3 );<\/p>\n<p>function add_my_custom_attendee_column( $columns ) {<br \/>\n$columns[&#8216;custom_id&#8217;] = &#8216;Customer Address&#8217;;<br \/>\nreturn $columns;<br \/>\n}<\/p>\n<p>function populate_my_custom_attendee_column( $existing, $item, $column ) {<br \/>\nif ( &#8216;custom_id&#8217; !== $column ) return $existing;<br \/>\n$order = new WC_Order( $item[&#8216;order_id&#8217;] );<br \/>\n$address = $order-&gt;get_billing_address();<br \/>\nreturn esc_html( $address );<br \/>\n}<\/p>\n<p>This works great, but the additional fields aren&#8217;t included in the CSV export. Any ideas on how I can get that portion working without digging in and hacking apart the plugin files?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-689273","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>Additional Columns in the Attendees list CSV export -<\/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\/additional-columns-in-the-attendees-list-csv-export\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Additional Columns in the Attendees list CSV export -\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m trying to include some additional fields in the Attendees CSV export. I managed to get the fields I want to show up in the Attendees list table using a customized version of the script below that I found while searching this form: add_filter( &#8216;manage_tribe_events_page_tickets-attendees_columns&#8217;, &#8216;add_my_custom_attendee_column&#8217;, 20 ); add_filter( &#8216;tribe_events_tickets_attendees_table_column&#8217;, &#8216;populate_my_custom_attendee_column&#8217;, 10, 3 ); function [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-08-26T00:15:17+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\/additional-columns-in-the-attendees-list-csv-export\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/\",\"name\":\"Additional Columns in the Attendees list CSV export -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-08-21T16:18:30+00:00\",\"dateModified\":\"2014-08-26T00:15:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/#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\":\"Additional Columns in the Attendees list CSV export\"}]},{\"@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":"Additional Columns in the Attendees list CSV export -","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\/additional-columns-in-the-attendees-list-csv-export\/","og_locale":"en_US","og_type":"article","og_title":"Additional Columns in the Attendees list CSV export -","og_description":"I&#8217;m trying to include some additional fields in the Attendees CSV export. I managed to get the fields I want to show up in the Attendees list table using a customized version of the script below that I found while searching this form: add_filter( &#8216;manage_tribe_events_page_tickets-attendees_columns&#8217;, &#8216;add_my_custom_attendee_column&#8217;, 20 ); add_filter( &#8216;tribe_events_tickets_attendees_table_column&#8217;, &#8216;populate_my_custom_attendee_column&#8217;, 10, 3 ); function [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/","article_modified_time":"2014-08-26T00:15:17+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\/additional-columns-in-the-attendees-list-csv-export\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/","name":"Additional Columns in the Attendees list CSV export -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-08-21T16:18:30+00:00","dateModified":"2014-08-26T00:15:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/additional-columns-in-the-attendees-list-csv-export\/#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":"Additional Columns in the Attendees list CSV export"}]},{"@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\/689273","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\/689273\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=689273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}