Title: deactivae for specific plugins
Last modified: October 24, 2019

---

# deactivae for specific plugins

 *  Resolved [blauemango](https://wordpress.org/support/users/blauemango/)
 * (@blauemango)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/deactivae-for-specific-plugins/)
 * Hi,
 * [@damian](https://wordpress.org/support/users/damian/), you alread wrote how 
   to disable your (very cool) plugin for WooCommerce:
    [https://wordpress.org/support/topic/do-not-use-in-woocommerce/#post-8870299](https://wordpress.org/support/topic/do-not-use-in-woocommerce/#post-8870299)
 * I’m using [https://de.wordpress.org/plugins/newsletter/](https://de.wordpress.org/plugins/newsletter/)(
   the most used newsletter-plugin for wordpress)
    But I’ve no idea how to write
   hooks or filters into the functions.php to deactive email-templates when an email
   is sent from newsletter-plugin.
 * Do you have some more infos to that?
    How can I deactive the templating via a
   hook in general?
 * Best regards
 * Rainer

Viewing 1 replies (of 1 total)

 *  [gonzalesc](https://wordpress.org/support/users/gonzalesc/)
 * (@gonzalesc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/deactivae-for-specific-plugins/#post-12061224)
 * Hi.
 * There are different ways to add code or functions into WordPress, here 2 :
 * **1) Directly to functions.php**
    You have to go to `appearance > theme editor`
   and search `Theme Functions (functions.php)` in the right sidebar. So you can
   paste the code at the end of all the content.
 * You can watch this video: [https://www.youtube.com/watch?v=N9VNXh506ys](https://www.youtube.com/watch?v=N9VNXh506ys)
 * **2) Using a plugin.**
    Exists several plugins that allow adding code to WordPress
   where you only have to paste the code.
 * Here a video: [https://www.youtube.com/watch?v=PFaiZsxNQbY](https://www.youtube.com/watch?v=PFaiZsxNQbY)
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘deactivae for specific plugins’ is closed to new replies.

 * ![](https://ps.w.org/email-templates/assets/icon-256x256.gif?rev=2891165)
 * [Email Templates Customizer and Designer for WordPress and WooCommerce](https://wordpress.org/plugins/email-templates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-templates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-templates/)
 * [Active Topics](https://wordpress.org/support/plugin/email-templates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-templates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-templates/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [gonzalesc](https://wordpress.org/support/users/gonzalesc/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/deactivae-for-specific-plugins/#post-12061224)
 * Status: resolved