Title: adding hooks in custom email
Last modified: February 27, 2022

---

# adding hooks in custom email

 *  [bozarl](https://wordpress.org/support/users/bozarl/)
 * (@bozarl)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/adding-hooks-in-custom-email/)
 * Hello,
 * I’m trying to add a PHP hook in my custom email.
 * Is there a way to do it? I need to add:
    do_action( ‘woocommerce_email_footer’,
   $email );
 * I’ve tried adding it into the HTML code of the custom email, but after I’ve saved
   the changes it changed it back. I’Ve put:
 * <?php do_action( ‘woocommerce_email_footer’, $email ); ?>
 * Thanks for any help¨
    Boza
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-hooks-in-custom-email%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘adding hooks in custom email’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-custom-emails_90cfea.svg)
 * [Woo Custom Emails](https://wordpress.org/plugins/woo-custom-emails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-custom-emails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-custom-emails/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-custom-emails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-custom-emails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-custom-emails/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bozarl](https://wordpress.org/support/users/bozarl/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/adding-hooks-in-custom-email/)
 * Status: not resolved