Event and Location Approval
When other people submit events to your site, you can require that each one is approved before visitors see it. Events from users who are not allowed to publish are saved as Pending, you are notified, and the event goes live when you publish it.
How approval is decided
Approval is not a switch. It follows from user capabilities, set in Events then Settings then General then User Capabilities.
| Capability | A role that has it | A role without it |
|---|---|---|
publish_events | Publishes events immediately. | Events are saved as Pending. |
publish_recurring_events | Publishes recurring and repeating events immediately from wp-admin. | Those events are saved as Pending. |
publish_locations | Publishes locations immediately. | Locations are saved as Pending. |
By default, administrators and editors have all three. Authors and contributors can create events and locations but have none of the three, so everything they add waits for approval. To require approval from a role, untick these capabilities for it. To trust a role, tick them.
An event or location is in one of three states:
| Status | Meaning |
|---|---|
| Published | Visible on your site. |
| Pending | Complete, hidden from visitors, and waiting for someone to publish it. |
| Draft | Not finished or not valid, for example missing a date. Hidden from visitors. |
When a user without publish_events edits an event that was already published, it returns to Pending and is hidden until it is approved again.
Approve an event
A count next to Events in the wp-admin menu shows how many events are waiting.
-
Go to Events then Events and click Pending above the list.
Pending events are listed whatever their date.
-
Click the event's title to open it and check its details.
-
Click Publish.
To approve without opening the event, hover over it, click Quick Edit, change Status to Published and click Update.
If the event came with a new location that is still pending, publishing the event publishes the location too.
Guest submissions show an Anonymous Submitter Info box in the editor with the name and email address the visitor entered.
Turn a submission down
There is no reject button. Leave the event pending, move it to the Trash, or change its status to Draft. No email is sent in any of these cases, so contact the submitter yourself if you want them to know why.
Approve a location
Locations added on their own, from the front-end locations page or from wp-admin, are approved the same way in Events then Locations: filter to Pending, then publish the location or use Quick Edit.
Visitors are not shown a location that is still pending, so approve locations before, or together with, the events that use them.
Emails
The emails sent during approval are in Events then Settings then Emails then Event Submission Templates.
Leave a subject empty to switch that email off.
To you
Enter the addresses that should be notified in Administrator Email, separated by commas. If it is empty, none of these three emails is sent.
| Template | Sent when | Default subject |
|---|---|---|
| Event Submitted | An event is submitted and is waiting for approval. | Submitted Event Awaiting Approval |
| Event Re-Submitted | An event that has been through approval before is edited and is waiting again. | Re-Submitted Event Awaiting Approval |
| Event Published | A user who is allowed to publish, but is not an administrator, publishes an event. No approval is needed. This keeps you informed. | Published Event - #_EVENTNAME |
To the submitter
| Template | Sent when | Default subject |
|---|---|---|
| Event Approved | Their pending event is published for the first time. | Event Approved - #_EVENTNAME |
| Event Reapproved | Their event is published again after an edit sent it back to pending. | Event Approved - #_EVENTNAME |
These go to the email address of the event's owner. For a guest submission they go to the address the guest typed into the form.
All five templates accept event placeholders. To stop one email, clear its subject. Sender name, address and delivery method are set under Email Settings.
In version 7.5, the first time an approved event is edited and resubmitted, the notification to you still uses the Event Submitted template. Event Re-Submitted is used from the next round on.
There are no approval emails for locations.
Troubleshooting
A contributor's events are published without approval
Their role has publish_events. Untick it in Events then Settings then General then User Capabilities. For recurring events, untick publish_recurring_events as well.
No notification arrives when an event is submitted
Check that Administrator Email is filled in and the Event submitted subject is not empty. Then send a test from Events then Settings then Emails then Email Settings to make sure your site can send email at all.
The submitter was not told their event was approved
The Event approved subject may be empty. The email is also only sent to owners who can't publish themselves, and only when the event moves from unpublished to published.
A pending event is missing from the Events list
Click the Pending link above the list. The default view shows published and pending events with future dates only, so a pending event dated in the past is hidden there.