daily pastebin goal
25%
SHARE
TWEET

Untitled

BakerMan Jan 31st, 2014 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Look for upcoming events
  2. $events = tribe_get_events();
  3.  
  4. if ( ! is_array( $events ) || empty( $events ) ) {
  5.         // There are no upcoming events
  6. }
  7. else {
  8.         // There are upcoming events
  9. }
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