Created
July 26, 2013 16:41
-
-
Save codearachnid/6090349 to your computer and use it in GitHub Desktop.
Tribe Events Calendar remove venue links from event meta display
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 | |
/** | |
* remove venue links from events | |
*/ | |
add_action( 'tribe_events_before_view', 'tribe_remove_venue_links' ); | |
function tribe_remove_venue_links(){ | |
remove_filter( 'tribe_event_meta_venue_name', array('Tribe_Register_Meta_Pro', 'venue_name'), 10, 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this code is not working anymore :(