1. In the WP plugin config, set the “method” to one of:
* a strong method that replaces all emails with a “*protection text*”.`
2. In a PHP file somewhere, call
Email address is obfuscated using the configuration saved in the site config.
function eeb_mailtoswitches on the
$methodparameter. If this parameter is not present, it defaults to HTML encoding. It doesn’t ever try to look at what is saved in the site config.
I am not sure if this is a supported use case; readme.txt suggests that eeb_mailto() is intended for the end user to use, and if so, this is surprising behavior to me.
- You must be logged in to reply to this topic.