Created
June 6, 2016 16:03
-
-
Save elimn/7bd806e297104721526432eedee882c4 to your computer and use it in GitHub Desktop.
MT | TEC | Changes event website link to one that opens in a new window/tab
This file contains hidden or 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 | |
| /* | |
| * Changes event website link to one that opens in a new window/tab | |
| */ | |
| function tribe_get_event_website_link_target_blank( $target ) { | |
| return '_blank'; | |
| } | |
| add_filter( 'tribe_get_event_website_link_target', 'tribe_get_event_website_link_target_blank' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment