Created
March 13, 2019 18:38
-
-
Save jentheo/825c94f8a8553fd3b7f03cb9bfe336c7 to your computer and use it in GitHub Desktop.
Remove link from venue name on event page
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
function tribe_remove_venue_link() { | |
remove_filter( 'tribe_get_venue', array( Tribe__Events__Pro__Main::instance()->single_event_meta, 'link_venue' ) ); | |
} | |
add_action( 'tribe_events_single_meta_before', 'tribe_remove_venue_link', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment