Skip to content

Instantly share code, notes, and snippets.

@andrasguseo
Created May 16, 2018 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrasguseo/62d48c8dc29c6f80ff8874a97cd427dd to your computer and use it in GitHub Desktop.
Save andrasguseo/62d48c8dc29c6f80ff8874a97cd427dd to your computer and use it in GitHub Desktop.
Workaround for #103831 - Attendee list on back-end is empty / not updated immediately after changes
<?php
add_filter( 'tribe_tickets_attendees_admin_expire', 'custom_tickets_attendees_expire' );
add_filter( 'tribe_tickets_attendees_expire', 'custom_tickets_attendees_expire' );
function custom_tickets_attendees_expire () {
// number of seconds
return 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment