Wordpress plugins
Eventbrite Attendees Shortcode

Eventbrite Attendees Shortcode

Version : 1.1.3
Tested up to : 4.1.19
Number of download : 2493
Author : Austin Passy
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

Eventbrite Attendees Shortcode
Eventbrite Attendees Shortcode
Eventbrite Attendees Shortcode
Eventbrite Attendees Shortcode

A shortcode to pull in your Eventbrite attendees list. Example shortcode useage: [eventbrite-attendees id="384870157"] More options: [eventbrite-attendees id="YOUR_EVENT_ID" sort="true|false" clickable="true|false" user_key="USER_KEY(IF_NOT_SET_IN_SETTINGS)"] Shortcode args: id: with your Eventbrite event id. sort: Should the attendee list be sorted by puchase date? clickable: Should links be clickable? user_key: Your API user key if not saved in the settings. Leave any comments about the Eventbrite Attendees Shortcode here. Attendee output control. Eventbrite returns a lot of information in regards to each attendee. You can filter out what you do not want by creating a filter. Use the example code bellow in your theme or a functionallity plugin: // See: http://developer.eventbrite.com/doc/events/event_list_attendees/ 'only_display' for allowed keys. function frosty_eventbrite_attendee_data_to_remove( $data ) { // If you want to start fresh use the next line //$data = array( 'ticket_id', 'tax' ); // etc.. // If you want to remove additional info from the default //$newdata = array( 'eventbrite_fee', 'created' ); // etc.. //$data = array_unique( array_merge( $newdata, $data ) ); return $data; } add_filter( 'eventbrite_attendees_only_display', 'frosty_eventbrite_attendee_only_display ); Removed is the old app_key and replaced with the user_key. If you want to use your own app key filter it like so: function frosty_eventbrite_attendees_app_key( $key ) { return 'MY_NEW_KEY'; } add_filter( 'eventbrite_attendees_app_key', 'frosty_eventbrite_attendees_app_key' ); Template $make_clickable example; here are two examples: #1 $name = 'display_name' function frosty_eventbrite_attendees_make_display_name_clickable() { return true; //default is false } add_filter( "eventbrite_attendees_{$name}_make_clickable", 'frosty_eventbrite_attendees_make_display_name_clickable' ); #2 $names = array( 'display_name', 'company' ); foreach ( $names as $name ) : add_filter( "eventbrite_attendees_{$name}_make_clickable", "frosty_eventbrite_attendees_make_clickable" ); endforeach; function frosty_eventbrite_attendees_make_clickable() { return true; //default is false }

Download now