This has been touched on previous posts, but I seem to be going wrong somewhere so was wondering if anyone had any suggestions.
I've added the input to event-editor.php in my theme folder (which is showing up)
I've then added the other chunk of code to my functions.php
The function seems to work fine if I manually put in the email. I can't find a way to test whether I'm getting anything from $_POST.
Also how do I get the event ID to set it as the post id to run update_post_meta?
I'm using ACF for the backend so this is just for the frontend submission.