WordPress at Your Fingertips
function is not described

WC_Email_Customer_Invoice::get_heading() public WC 1.0

Get email heading.

{} It's a method of the class: WC_Email_Customer_Invoice{}

Return

String.

Usage

$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice();
$WC_Email_Customer_Invoice->get_heading();

Code of WC_Email_Customer_Invoice::get_heading() WC 5.9.0

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 );
}