Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * This is a simple example of hiding organizer email addresses.
- *
- * You could add to this and stop an actual link element from being
- * formed and/or return an empty string instead.
- */
- add_filter( 'tribe_get_organizer_email', 'hide_organizer_emails' );
- function hide_organizer_emails( $email ) {
- $email = str_replace( '@', ' [at] ', $email );
- $email = str_replace( '.', ' [dot] ', $email );
- return $email;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement