Skip to content

Instantly share code, notes, and snippets.

@Apina
Created November 20, 2014 11:58
Show Gist options
  • Save Apina/8f4139e76670df2f6bc6 to your computer and use it in GitHub Desktop.
Save Apina/8f4139e76670df2f6bc6 to your computer and use it in GitHub Desktop.
EE4 (4.4.5) get the event ids in the SPCO
add_action('AHEE__registration_page_attendee_information__start', 'dxxx', 10, 1 );
function dxxx($event_queue) {
//var_dump($event_queue);
$my_registrations = $event_queue['items']; foreach($my_registrations as $a_reg) { echo $a_reg[event] -> ID(); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment