daily pastebin goal
1%
SHARE
TWEET

Show all events (in community/my events)

BakerMan Mar 26th, 2014 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'tribe_ce_my_events_query', 'show_all_my_events' );
  2.  
  3. function show_all_my_events( $query ) {
  4.         $query['eventDisplay'] = 'custom';
  5.         return $query;
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top