WordPress.org

Ready to get started?Download WordPress

Forums

Email Address Encoder
[resolved] Encode it on another field (4 posts)

  1. Clearsite
    Member
    Posted 1 year ago #

    Hi,

    My code is as following :
    if ($meta['email']) $output .= '<dt>E-mail</dt><dd><a href="mailto:'.$meta['email'].'">'.$meta['email'].'</a></dd>';

    How can i add the plugin to encode this email output?

    Kind regards

    http://wordpress.org/extend/plugins/email-address-encoder/

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  2. Clearsite
    Member
    Posted 1 year ago #

    Code with 'code' option on, by request from moderator.

    if ($meta['email']) $output .= '<dt>E-mail</dt><dd><a href="mailto:'.$meta['email'].'">'.$meta['email'].'</a></dd>';
  3. Till Kr├╝ss
    Member
    Plugin Author

    Posted 1 year ago #

    Like this:

    if ($meta['email']) $output .= '<dt>E-mail</dt><dd><a href="mailto:'.eae_encode_str($meta['email']).'">'.eae_encode_str($meta['email']).'</a></dd>';

  4. Clearsite
    Member
    Posted 1 year ago #

    Thnx Till!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.