Encode emails in custom fields? (2 posts)

  1. ThemeMee
    Posted 4 years ago #


    Is there a way for the plugin to encode emails stored in and echoed from data fields that are part of custom post types?



  2. michael_greenberg
    Plugin Author

    Posted 4 years ago #

    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,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHPEnkoder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic