SHARE
TWEET

Untitled

BakerMan Feb 18th, 2014 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'parse_query', 'limit_google_map_inclusion', 60 );
  2.  
  3. function limit_google_map_inclusion() {
  4.         if ( ! tribe_is_event() ) return;
  5.         wp_dequeue_script( 'script_handle' );
  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