Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created November 26, 2018 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pebblo/e38bb50e86411521cb509b9a99e2df68 to your computer and use it in GitHub Desktop.
Save Pebblo/e38bb50e86411521cb509b9a99e2df68 to your computer and use it in GitHub Desktop.
A filter to only display Approved registrations on the EE checking page (Event Espresso -> Registrations -> Check-in)
<?php //Do not include the opening PHP tag if you already have one.
add_filter('FHEE__Extend_Registrations_Admin_Page__get_event_attendees__status_ids_array', 'tw_ee_get_event_attendees_atatus_ids_array', 10, 1);
function tw_ee_get_event_attendees_atatus_ids_array() {
return array(EEM_Registration::status_id_approved);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment