Skip to content

Instantly share code, notes, and snippets.

@sethshoultes
Last active August 29, 2015 14:02
Show Gist options
  • Save sethshoultes/9488c126bcd5b6271079 to your computer and use it in GitHub Desktop.
Save sethshoultes/9488c126bcd5b6271079 to your computer and use it in GitHub Desktop.
case 'PENDING':
if (current_user_can('administrator') || function_exists('espresso_member_data') && espresso_can_view_event($event_id) == true) {
?>
<li class="pending_event"><a href="<?php echo $registration_url; ?>"><?php echo stripslashes_deep($event->event_name) ?> - <span class="widget-event-date"><?php echo event_date_display($event->start_date) ?></span></a>
<?php
}
break;
@sethshoultes
Copy link
Author

Add the above code after line #126 of the event-espresso/templates/widget.php file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment