WordPress at Your Fingertips
function is not described

WC_Email_Customer_Refunded_Order::get_default_subject() public WC 3.1.0

Get email subject.

{} 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_subject( $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_subject() WC 6.1.0

public function get_default_subject( $partial = false ) {
	if ( $partial ) {
		return __( 'Your {site_title} order #{order_number} has been partially refunded', 'woocommerce' );
	} else {
		return __( 'Your {site_title} order #{order_number} has been refunded', 'woocommerce' );
	}
}