WC_Email_Customer_Refunded_Order::get_heading()publicWC 1.0

Get email heading.

Method of the class: WC_Email_Customer_Refunded_Order{}

Return

String.

Usage

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

WC_Email_Customer_Refunded_Order::get_heading() code WC 8.7.0

public function get_heading() {
	if ( $this->partial_refund ) {
		$heading = $this->get_option( 'heading_partial', $this->get_default_heading( true ) );
	} else {
		$heading = $this->get_option( 'heading_full', $this->get_default_heading() );
	}
	return apply_filters( 'woocommerce_email_heading_customer_refunded_order', $this->format_string( $heading ), $this->object, $this );
}