WC_Email_Customer_Invoice::get_heading()
Get email heading.
Description Description
Return Return
(string)
Source Source
File: includes/emails/class-wc-email-customer-invoice.php
public function get_heading() { if ( $this->object->has_status( wc_get_is_paid_statuses() ) ) { $heading = $this->get_option( 'heading_paid', $this->get_default_heading( true ) ); return apply_filters( 'woocommerce_email_heading_customer_invoice_paid', $this->format_string( $heading ), $this->object, $this ); } $heading = $this->get_option( 'heading', $this->get_default_heading() ); return apply_filters( 'woocommerce_email_heading_customer_invoice', $this->format_string( $heading ), $this->object, $this ); }