WordPress at Your Fingertips
function is not described

WC_Email_Customer_Refunded_Order::get_default_heading() public WC 3.1.0

Get email heading.

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

No Hooks.

Return

String.

Usage

$WC_Email_Customer_Refunded_Order = new WC_Email_Customer_Refunded_Order();
$WC_Email_Customer_Refunded_Order->get_default_heading( $partial );
$partial(true|false)
Whether it is a partial refund or a full refund.
Default: false

Changelog

Since 3.1.0 Introduced.

Code of WC_Email_Customer_Refunded_Order::get_default_heading() WC 5.9.0

public function get_default_heading( $partial = false ) {
	if ( $partial ) {
		return __( 'Partial Refund: Order {order_number}', 'woocommerce' );
	} else {
		return __( 'Order Refunded: {order_number}', 'woocommerce' );
	}
}