I want the venue link to open in a new window.
I have added this filter, but doesn’t seem to work:
add_filter( 'tribe_get_event_website_link_target', '_blank', 999, 3 );
Just realised I’m getting confused between the venue link and the event link. The following has worked:
function tribe_venue_link_target() {
return '_blank';
}
add_filter( 'tribe_get_venue_website_link_target', 'tribe_venue_link_target' );
- This topic was modified 39 minutes ago by .
- This topic was modified 34 minutes ago by . Reason: Solved