Title: [Plugin: PHPEnkoder] Encode emails in custom fields?
Last modified: August 19, 2016

---

# [Plugin: PHPEnkoder] Encode emails in custom fields?

 *  [ThemeMee](https://wordpress.org/support/users/thememee/)
 * (@thememee)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-phpenkoder-encode-emails-in-custom-fields/)
 * Michael,
 * Is there a way for the plugin to encode emails stored in and echoed from data
   fields that are part of custom post types?
 * Thanks.
 * [http://wordpress.org/extend/plugins/php-enkoder/](http://wordpress.org/extend/plugins/php-enkoder/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [michael_greenberg](https://wordpress.org/support/users/michael_greenberg/)
 * (@michael_greenberg)
 * [15 years ago](https://wordpress.org/support/topic/plugin-phpenkoder-encode-emails-in-custom-fields/#post-1940012)
 * Sorry for the late response…
 * People have asked for this before. I think the easiest approach here is to change
   the code for your custom post types to automatically call `enkode`. If a plugin
   is using your custom fields, that may mean incompatible changes to the plugin
   that you’ll have to merge in with each upgrade. In that case, the best thing 
   to do is to add hooks to the plugin and then add those hooks to PHPEnkoder. (
   It’s not hard—just one line changed in `enkoder.php`. This is better because 
   PHPEnkoder almost surely updates less frequently. :))
 * Alternatively, you might be able to put an `enkode` hook around `post_fields`.
 * Good luck,
    Michael

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: PHPEnkoder] Encode emails in custom fields?’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-enkoder.svg)
 * [PHPEnkoder](https://wordpress.org/plugins/php-enkoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-enkoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-enkoder/)
 * [Active Topics](https://wordpress.org/support/plugin/php-enkoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-enkoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-enkoder/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [michael_greenberg](https://wordpress.org/support/users/michael_greenberg/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-phpenkoder-encode-emails-in-custom-fields/#post-1940012)
 * Status: not resolved