Home  >  Q&A  >  body text

Woocommerce remove new order header from admin email

How to remove or hide the new order header from the admin email?

my question:

I want to print my order, but the email is longer than one page. If I could remove the header, my order would only fit on one page.

P粉442576165P粉442576165238 days ago358

reply all(1)I'll reply

  • P粉969253139

    P粉9692531392024-01-30 00:16:07

    Try using

    add_filter('woocommerce_email_heading_new_order','my_email_heading_customisation_function', 1, 2);
    function my_email_heading_customisation_function($heading){
        $heading='';
        return $heading;
    }

    reply
    0
  • Cancelreply