Skip to content

Instantly share code, notes, and snippets.

@GeoffEW
Created September 6, 2016 20:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeoffEW/4406403775fe4efab39b9d5baae757ae to your computer and use it in GitHub Desktop.
Save GeoffEW/4406403775fe4efab39b9d5baae757ae to your computer and use it in GitHub Desktop.
<?php
/* Tribe, force event, venue & organizer websites to open in a new window */
add_filter( 'tribe_get_event_website_link_target', function () { return '_blank'; } );
add_filter( 'tribe_get_venue_website_link_target', function () { return '_blank'; } );
add_filter( 'tribe_get_organizer_website_link_target', function () { return '_blank'; } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment