Created
September 6, 2016 20:11
-
-
Save GeoffEW/4406403775fe4efab39b9d5baae757ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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