Created
November 20, 2014 11:58
-
-
Save Apina/8f4139e76670df2f6bc6 to your computer and use it in GitHub Desktop.
EE4 (4.4.5) get the event ids in the SPCO
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
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