WC_Email_Customer_Note::get_default_subject │ public │ WC 3.1.0

Get email subject.

Method of the class: WC_Email_Customer_Note{}

No Hooks.

Returns

string.

Usage

$WC_Email_Customer_Note = new WC_Email_Customer_Note();
$WC_Email_Customer_Note->get_default_subject();

Changelog

Since 3.1.0 Introduced.

WC_Email_Customer_Note::get_default_subject() code WC 11.3.0

public function get_default_subject() {
	return $this->email_improvements_enabled
		? __( 'A note has been added to your order from {site_title}', 'woocommerce' )
		: __( 'Note added to your {site_title} order from {order_date}', 'woocommerce' );
}