Event URL (Additional Data) | Display Eventbrite Events

add_filter( ‘wfea_event_url’, function ( $url, $event_id, $organizer, $venue, $category ) { $code = ‘online’; if ( property_exists( $venue, ‘id’ ) ) { switch ( $venue->id ) { case 12345: $code = ‘venue1’; break; case 999893: $code = ‘venue2’; break; default:…Continue reading

Event Data | Display Eventbrite Events

add_filter( ‘wfea_api_results’, // hook to filter returned event data before display /** * @param $events * @param $atts * * @return mixed * @throws Exception */ function ( $events, $atts ) { if ( ! in_array( $atts[‘layout’], array( ‘cal_list’, ‘cal’…Continue reading