{"id":1944977,"date":"2023-09-13T10:24:16","date_gmt":"2023-09-13T14:24:16","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1944977"},"modified":"2024-02-19T19:41:21","modified_gmt":"2024-02-20T00:41:21","slug":"public-attendee-list","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/public-attendee-list\/","title":{"rendered":"Public Attendee List"},"content":{"rendered":"\n<p>The Public Attendee List powers the <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/making-tickets\/#global-stock\" target=\"_blank\" rel=\"noreferrer noopener\">Who&#8217;s Attending feature<\/a> on your event page while using <a href=\"https:\/\/theeventscalendar.com\/product\/wordpress-event-tickets-plus\/\" target=\"_blank\" rel=\"noreferrer noopener\">Event Tickets Plus<\/a>, but it can do much more. It is a list of all of the attendees for an event, allowing you and others to see who is attending the event. This is powered by the API, which is public. You can learn more about APIs in our <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/introduction-to-the-events-calendar-rest-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">REST API article<\/a>. <\/p>\n\n\n\n<p>We have combined the end-user permissions for the full Public Attendee List and the Who&#8217;s Attending block.  At this time, we do provide a way for users to opt-out from these.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"where\">Viewing attendees<\/h2>\n\n\n\n<p>In Classic Editor mode, select Settings from the Tickets meta box then choose the option to <strong>Show attendees list on event page<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1594\" height=\"662\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x.png\" alt=\"\" class=\"wp-image-1958834\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x.png 1594w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x-300x125.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x-1024x425.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x-768x319.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.46.14@2x-1536x638.png 1536w\" sizes=\"auto, (max-width: 1594px) 100vw, 1594px\" \/><figcaption class=\"wp-element-caption\">Ticket meta box in the WordPress Classic editor<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1594\" height=\"1036\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x.png\" alt=\"\" class=\"wp-image-1958836\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x.png 1594w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x-300x195.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x-1024x666.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x-768x499.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/12\/CleanShot-2023-12-16-at-12.48.42@2x-1536x998.png 1536w\" sizes=\"auto, (max-width: 1594px) 100vw, 1594px\" \/><figcaption class=\"wp-element-caption\">Enable &#8220;Who&#8217;s Attending&#8221; to display on the front end of your site<\/figcaption><\/figure>\n\n\n\n<p>If you have enabled the WordPress Block editor (a.k.a Gutenberg), you will add the <strong>Attendee List<\/strong> to your event, page, or post using the Ticket block.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2019\/10\/Block-Editor-Add-attendees-block.png\" alt=\"Attendee List block in the WordPress Block Editor\"\/><figcaption class=\"wp-element-caption\">The Attendee List block in the WordPress Block editor<\/figcaption><\/figure><\/div>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2019\/10\/Block-Editor-Attendees-block.png\" alt=\"Public Attendee List on the front end\"\/><figcaption class=\"wp-element-caption\">The Attendee List block added to the post<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-color has-background\" style=\"color:#141827;background-color:var(--global-palette8)\">Note: If the user opts out of being displayed on the Who&#8217;s Attending\/Attendee List, they will be displayed as anonymous in the Who&#8217;s Attending block.<\/p>\n\n\n\n<p class=\"has-text-color has-background\" style=\"color:#141827;background-color:var(--global-palette8)\">Note: If you are using Event Tickets Plus with WooCommerce then avatars will only show up for WooCommerce orders that are &#8220;Complete&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"anywhere\">Displaying attendees<\/h2>\n\n\n\n<p>Once the attendee list has been enabled, visitors are able to opt into being displayed on the list during registration. You are able to display the attendees who have opted in in a variety of ways.<\/p>\n\n\n\n<p>Some WordPress themes and plugins provide custom solutions to display attendees within widgets and sidebars. You could also integrate this with your own mobile app, other content management systems, and more.<\/p>\n\n\n\n<p>To access all attendee registrations that are publicly available for all events on your site, go to this link on your own website:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;yoursite.com]\/wp-json\/tribe\/tickets\/v1\/attendees\/\n<\/pre><\/div>\n\n\n<p>To access all attendee registrations that are publicly available for just a single ticket within an event, this is the link you can use: <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;yoursite.com]\/wp-json\/tribe\/tickets\/v1\/attendees\/260\n<\/pre><\/div>\n\n\n<p>That number at the end of the URL coordinates with the Ticket ID. To find that, go to <strong>Events<\/strong> from the WordPress dashboard.  Mouse over the <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/tickets-managing-your-orders-and-attendees\/#attendee-list\">attendees list<\/a> (or get there while editing the single event). <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1619\" height=\"835\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39.png\" alt=\"\" class=\"wp-image-1959393\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39.png 1619w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39-300x155.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39-1024x528.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39-768x396.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/02\/2024-02-14_20-41-39-1536x792.png 1536w\" sizes=\"auto, (max-width: 1619px) 100vw, 1619px\" \/><figcaption class=\"wp-element-caption\">Ticket ID is visible in the Status column<\/figcaption><\/figure>\n\n\n\n<p>The Public Attendee API can be used in a variety of ways. Developers may use it to make their own widgets or other ways of displaying publicly available attendees. <\/p>\n\n\n\n<p>One of the things to remember is that the Public Attendee API, as all <a href=\"https:\/\/developer.wordpress.org\/rest-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress APIs<\/a>, is public. So all user data is publicly accessible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/publicattendeesapi-1024x411.png\" alt=\"\" class=\"wp-image-1945976\"\/><figcaption class=\"wp-element-caption\">The Public Attendee API will display like this. <\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-color has-background\" style=\"color:#141827;background-color:var(--global-palette8)\"><strong>Note:<\/strong> For users to appear within the Public Attendees API, the Who&#8217;s Attending\/Attendee List must be enabled on published tickets AND the end purchaser must uncheck the opt-out prompt within Event Tickets 4.12+.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"opt-out\">Opting out of the attendee list<\/h2>\n\n\n\n<p>To be shown in the public attendee results, users will need to uncheck the box, allowing themselves to be publicly visible as attending the event. We have made the default option to be opt-out to comply more closely with GDPR, California Customer Privacy Act, and similar best practices.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"hide\">Hiding the attendee list option<\/h3>\n\n\n\n<p class=\"has-text-color has-background\" style=\"color:#141827;background-color:var(--global-palette8)\"><meta charset=\"utf-8\"><strong>Note:<\/strong> If you use the Who&#8217;s Attending feature on your site, but hide the opt-out question, users will be hidden from the Public Attendee List.<\/p>\n\n\n\n<p>Since Event Tickets Plus 4.11.2, both Classic and Block users will see an opt-out form below tickets on the front end of their website. Previously, this feature was only displayed within the RSVP Block (not Classic mode).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/02\/image.png\" alt=\"Opting out of the public attendee list\" class=\"wp-image-1945915\"\/><figcaption class=\"wp-element-caption\">By default, users will be opted-out of the Public Attendee API.<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-color has-background\" style=\"color:#141827;background-color:var(--global-palette8)\"><strong>Note:<\/strong> You can hide the opt-out form so users do not need to opt-in or opt-out of being displayed in the list. However, this makes complying with GDPR and other policies more complex. Proceed with caution.<\/p>\n\n\n\n<p>Add this CSS snippet to your theme&#8217;s styles (or use a style override) to hide the option:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n.tribe-tickets-attendees-list-optout--wrapper {\n    display: none !important;\n}\n<\/pre><\/div>\n\n\n<p>It&#8217;s also possible to hide the option using the <code><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/hooks\/tribe_tickets_plus_hide_attendees_list_optout\/\" target=\"_blank\" rel=\"noreferrer noopener\">tribe_tickets_plus_hide_attendees_list_optout<\/a><\/code> filter in your <code>functions.php<\/code> file or as a separate plugin.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'tribe_tickets_plus_hide_attendees_list_optout', '__return_true' );\n<\/pre><\/div>\n\n\n<p>You can find the functions for <a href=\"https:\/\/github.com\/moderntribe\/event-tickets\/blob\/master\/src\/views\/blocks\/tickets\/opt-out-hidden.php\" target=\"_blank\" rel=\"noreferrer noopener\">Tickets<\/a> and <a href=\"https:\/\/github.com\/moderntribe\/event-tickets\/blob\/8d209c3977dde6579fa029feb24a347b7ec67795\/src\/views\/blocks\/rsvp\/form\/opt-out.php#L27\" target=\"_blank\" rel=\"noreferrer noopener\">RSVPs<\/a> in their respective repositories. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"full\">User permissions<\/h2>\n\n\n\n<p>It&#8217;s possible to set permissions that restrict which user accounts are able to view and manage attendee lists in WordPress. For example, you can use the <code>tribe_manage_attendees<\/code> capability to grant access to, say, the Editor, Administrator, and Super Administrator roles. The WordPress developer guide has more information on <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">setting up user roles and permissions<\/a>. You can find the full list of tickets capabilities see our guide: <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/admin-roles-and-permissions\/#Tickets\" target=\"_blank\" rel=\"noreferrer noopener\">Editing User Roles and Permissions<\/a>.<\/p>\n\n\n\n<p>Bear in mind, if you are creating accounts for staff to check attendees in, we recommend that they have <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/using-qr-codes-with-event-tickets-plus\/#create_qr_user\" target=\"_blank\" rel=\"noreferrer noopener\">Contributor level permissions<\/a>. This means that if they need to switch to manually checking guests in, they may not have access to see all attendees. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Public Attendee List powers the Who&#8217;s Attending feature on your event page while using Event Tickets Plus, but it can do much more. It is a list of all of the attendees for an event, allowing you and others to see who is attending the event. This is powered by the API, which is&#8230;<\/p>\n","protected":false},"author":17,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","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":[1],"tags":[23],"stellar-product-taxonomy":[155],"class_list":["post-1944977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-css","stellar-product-taxonomy-event-tickets"],"acf":[],"taxonomy_info":{"category":[{"value":1,"label":"Uncategorized"}],"post_tag":[{"value":23,"label":"CSS"}],"stellar-product-taxonomy":[{"value":155,"label":"Event Tickets"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Andras Guseo","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/andras\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Uncategorized","slug":"uncategorized","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":139,"filter":"raw","term_order":"0","cat_ID":1,"category_count":139,"category_description":"","cat_name":"Uncategorized","category_nicename":"uncategorized","category_parent":0}],"tag_info":[{"term_id":23,"name":"CSS","slug":"css","term_group":0,"term_taxonomy_id":23,"taxonomy":"post_tag","description":"","parent":20,"count":48,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1944977","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1944977"}],"version-history":[{"count":8,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1944977\/revisions"}],"predecessor-version":[{"id":1959463,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1944977\/revisions\/1959463"}],"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=1944977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1944977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1944977"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1944977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}