Hmm. I don’t think passing a PHP function (like get_the_id()) will work. You could have the page you send your users to capture the previous page URL then figure out the id of the event post using the url_to_postid() WordPress function: https://codex.wordpress.org/Function_Reference/url_to_postid
Would that work?
Viewing 3 reply threads
The support post ‘Registration Event – Login required’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.