Title: encrypted email address
Last modified: August 22, 2016

---

# encrypted email address

 *  Resolved [SensoryLabs](https://wordpress.org/support/users/sensorylabs/)
 * (@sensorylabs)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/encrypted-email-address/)
 * Hi, Great plug in. I recently added another plug-in to my site to encrypt the
   email addresses. It is called pb-mailcrypt-antispam-email-encryption. It used
   a short code to encrypt any email addresses that I have on my website pages. 
   I just use this short code
    [mailcrypt email=”christine@sensorylabs.com”] on 
   any page where I want the email address to be displayed, and encrypted.
 * I tried to use that short code in the email entry for our staff members. No luck.
   I wondered two things; are the email addresses in your plug-in encrypted? if 
   not, is there a way I can use the short code from the pb-mailcrypt plug-in inside
   your email entry?
 * Thank you Christine
 * [https://wordpress.org/plugins/simple-staff-list/](https://wordpress.org/plugins/simple-staff-list/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Stagger Lee](https://wordpress.org/support/users/stagger-lee/)
 * (@stagger-lee)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/encrypted-email-address/#post-5672336)
 * This works for me. Disable this plugin, you dont need it.
 *     ```
       function security_remove_emails($content) {
           $pattern = '/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})/i';
           $fix = preg_replace_callback($pattern,"security_remove_emails_logic", $content);
   
           return $fix;
       }
       function security_remove_emails_logic($result) {
           return antispambot($result[1]);
       }
       add_filter( 'the_content', 'security_remove_emails', 20 );
       add_filter( 'widget_text', 'security_remove_emails', 20 );
       ```
   
 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/encrypted-email-address/#post-5672363)
 * [@sensorylabs](https://wordpress.org/support/users/sensorylabs/) – Yes, the plugin
   uses the `antispambot()` function within WordPress to ‘encrypt’ the emails to
   make them harder to be scraped by spambots.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘encrypted email address’ is closed to new replies.

 * ![](https://ps.w.org/simple-staff-list/assets/icon-256x256.png?rev=2718196)
 * [Simple Staff List](https://wordpress.org/plugins/simple-staff-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-staff-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-staff-list/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-staff-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-staff-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-staff-list/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)
 * [encryption](https://wordpress.org/support/topic-tag/encryption/)

 * 2 replies
 * 3 participants
 * Last reply from: [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/encrypted-email-address/#post-5672363)
 * Status: resolved