How to obfuscate email addresses

Home Forums Calendar Products Events Calendar PRO How to obfuscate email addresses

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #268064
    irishrunner16
    Participant

    Hi guys,

    I’m using the plugin noted in this previously closed topic, but I’m not sure how to get snorton’s suggested change into the new override for the organizer meta at /modules/meta/organizer.php

    I believe that I need to edit line 13…just not sure how to code it. Anyone have any experience doing so or suggestions?

    Thanks,
    Sean

    #270149
    Barry
    Member

    Hi Sean,

    I’m not familiar with that plugin but I’d imagine the basic approach would be to locate this line of code (from modules/meta/organizer.php):

    <dd> <?php echo $email ?> </dd>

    And simply change it to something like:

    <dd> <?php echo eeb_email($email, 'Send a message'); ?> </dd>

    As $email has already been populated in a preceding line of code. Does that help at all?

    #271067
    irishrunner16
    Participant

    Thanks Barry! Making that change in addition to
    $email = tribe_get_organizer_email();
    got this working.

    Have a great holiday!

    #274307
    Barry
    Member

    Excellent, glad it’s working 🙂

    I’ll go ahead and close this thread – as ever, if you need help with other issues, do feel free to create new threads as needed.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to obfuscate email addresses’ is closed to new replies.