Created
November 26, 2018 12:43
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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