Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'parse_query', 'limit_google_map_inclusion', 60 );
- function limit_google_map_inclusion() {
- if ( ! tribe_is_event() ) return;
- wp_dequeue_script( 'script_handle' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement