apply_filters( 'woocommerce_email_subject_' . $this->id, $this->format_string( $this->subject ), $this->object );


apply_filters( 'woocommerce_email_heading_' . $this->id, $this->format_string( $this->heading ), $this->object );


apply_filters( 'woocommerce_email_recipient_' . $this->id, $this->recipient, $this->object );


apply_filters( 'woocommerce_email_headers', "Content-Type: " . $this->get_content_type() . "\r\n", $this->id, $this->object );


apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object );

$this->id can have the following values:

  • new_order
  • customer_processing_order
  • customer_completed_order
  • customer_invoice
  • customer_note
  • low_stock
  • no_stock
  • backorder
  • customer_new_account
  • customer_invoice_paid
Your Answer
Sign In
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.