WC_Email_Customer_POS_Completed_Order::email_headerpublicWC 1.0

Get the email header.

Method of the class: WC_Email_Customer_POS_Completed_Order{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Email_Customer_POS_Completed_Order = new WC_Email_Customer_POS_Completed_Order();
$WC_Email_Customer_POS_Completed_Order->email_header( $email_heading );
$email_heading(mixed) (required)
Heading for the email.

WC_Email_Customer_POS_Completed_Order::email_header() code WC 10.7.0

public function email_header( $email_heading ) {
	wc_get_template(
		'emails/email-header.php',
		array(
			'email_heading' => $email_heading,
			'store_name'    => $this->get_pos_store_name(),
		)
	);
}