Event Organiser FES 1.2: Frontend Editing

Event Organiser FES 1.2.0 has now been released. This release fixes a few minor bugs, but is largely focussed on one new feature: front-end editing (of submitted events).

Firstly, this is not enabled by default, and there is no UI option for it (at present). Instead, to enable this feature add:


near the top of your wp-config.php file (after the line <?php).

Who can edit?

With front-end editing enabled a user can edit the event (on the front-end) if they can access and edit the event in the WordPress admin or if they are the organiser of the event and can ‘read’ the event. This may be the event submitter, or it may not – it depends on your form settings.

Of course, to be able edit the event from the front-end they’ll need to be able to see it too. So ‘draft’ or ‘pending’ events will generally not be seen by the submitter, unless that submitter can also access the WordPress admin.

You can use the filter eventorganiser_fes_current_user_can_edit to change whether a particular user can edit an event:

add_filter( 'eventorganiser_fes_current_user_can_edit', 'my_eofes_can_user_edit', 10, 2 );
function my_eofes_can_user_edit( $can_edit, $event_id ) {
      $user_id = get_current_user_id();
      //Set $can_edit to true (to allow this user to edit, or false to prevent them).
      return $can_edit;

Permissions for editing from the WordPress admin are not effected.