Support » Plugin: Email Address Encoder » [Plugin: Email Address Encoder] Encode it on another field

  • Resolved Clearsite

    (@clearsite)


    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.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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>';
    Plugin Author Till Krüss

    (@tillkruess)

    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>';

    Thnx Till!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Email Address Encoder] Encode it on another field’ is closed to new replies.