Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'tribe_event_pro_meta_venue_name', 'hide_unnamed_venues_from_meta' );
- function hide_unnamed_venues_from_meta( $html ) {
- if ( false !== strpos( $html, 'Unnamed Venue' ) ) return '';
- return strip_tags( $html ); // Don't link to the venue
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement