Publishes a draft event to your live site. Once published, the event's status changes from DRAFT
to UPCOMING.
It's impossible to revert the DRAFT
status after publishing. The only option is to clone the event, and then delete the original one.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Event ID.
Optional fields.