Title: [Plugin: Email Encoder Bundle] Override automatic encoding on one page
Last modified: August 20, 2016

---

# [Plugin: Email Encoder Bundle] Override automatic encoding on one page

 *  Resolved [wallyO](https://wordpress.org/support/users/wallyo/)
 * (@wallyo)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-email-encoder-bundle-override-automatic-encoding-on-one-page/)
 * Hello and thanks for the plugin.
    Plugin is installed and working beautifully,
   automatically encoding all mail-to links and text email address. My problem occurs
   in conjunction with woo-commerce (and another cart plugin I tried) because they
   output a logged in user’s email address into form input values to a page named
   checkout. eeb unfortunately mashes these email addresses. I have been editing
   my themes function.php trying to override eeb filters on individual pages with
   add_action logic and remove_filter.
 *     ```
       function my_function_name() {
          if(is_page('checkout')){
             remove_filter( 'the_content', array( $this, '_filter_callback' ), $priority );
          }
       }
       add_action('hook_name', 'my_function_name');
       ```
   
 * But after much experimenting I have had no success.
    I would appreciate any help
   with this.
 * [http://wordpress.org/extend/plugins/email-encoder-bundle/](http://wordpress.org/extend/plugins/email-encoder-bundle/)

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

 *  Thread Starter [wallyO](https://wordpress.org/support/users/wallyo/)
 * (@wallyo)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-email-encoder-bundle-override-automatic-encoding-on-one-page/#post-2457302)
 * I have a solution, but sadly it is a dirty, dirty hack. (hang head in shame)
   
   It is a direct hack of the plugin file email-encoder-bundle\email-encoder-bundle.
   php Directly after (line 142)
 *     ```
       add_filter( 'the_content', array( $this, '_filter_callback' ), $priority );
       ```
   
 * I added the following code;
 *     ```
       global $post;
       if ($post->post_name === 'checkout' || $post->post_name === 'pay' || $post->post_name === 'order-received' || $post->post_name === 'change-password' || $post->post_name === 'edit-address' || $post->post_name === 'view-order' || $post->post_name === 'order-tracking' || $post->post_name === 'my-account') {
         remove_filter( 'the_content', array( $this, '_filter_callback' ), $priority );
       }
       ```
   
 * This hack will be over written when the plugin updates.
    If anyone knows how 
   to do the same thing in the functions.php then please share.
 *  [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * (@freelancephp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-email-encoder-bundle-override-automatic-encoding-on-one-page/#post-2457436)
 * Thanks for sharing your solution. The plugin is not updated frequently though.

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

The topic ‘[Plugin: Email Encoder Bundle] Override automatic encoding on one page’
is closed to new replies.

 * ![](https://ps.w.org/email-encoder-bundle/assets/icon-256x256.png?rev=2056506)
 * [Email Encoder - Protect Email Addresses and Phone Numbers](https://wordpress.org/plugins/email-encoder-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-encoder-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-encoder-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/email-encoder-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-encoder-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-encoder-bundle/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-email-encoder-bundle-override-automatic-encoding-on-one-page/#post-2457436)
 * Status: resolved