Bin Email Spam Protection free WordPress plugin
Description
Bin Email Spam Protection free WordPress plugin
The plugin searches the content before output and replaces all emails with a tricky javascript spam protection. The visitor will not notice any change, only spam bots can not grab your emails anymore. For your themes, the plugin provides some handy helper functions to protect emails.
BinEmailSpamProtection::cryptMail(‘mail@example.com’) = javascript:DeCryptX(‘jogpAflti/di’) BinEmailSpamProtection::cryptMailLink(‘mail@example.com’, [optional text]) = mail@nospam-example.com BinEmailSpamProtection::linktext(‘mail@example.com’) = mail@nospam-example.com
To avoid problems when the plugin is not active, check to see if the class exists before using it:
$protected = (class_exists(‘BinEmailSpamProtection’) ? BinEmailSpamProtection::cryptMail(‘mail@example.com’) : ‘mailto:’mail@example.com’);