SHARE
TWEET

Events today

BakerMan Dec 4th, 2013 184 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $today = date( 'Y-m-d' );
  2. $tomorrow = date( 'Y-m-d', strtotime( 'tomorrow' ) );
  3.  
  4. $events = tribe_get_events( array(
  5.         'eventDisplay' => 'custom',
  6.         'start_date' => $today,
  7.         'end_date' => $tomorrow
  8. ) );
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