Automattic\WooCommerce\Internal\OrderWithdrawal

OrderWithdrawalFormProcessor::wrap_email_message │ private │ WC 1.0

Wrap an email body in the WooCommerce email template.

Method of the class: OrderWithdrawalFormProcessor{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->wrap_email_message( $heading, $body ): string;
$heading(string) (required)
Email heading.
$body(string) (required)
Email body.

OrderWithdrawalFormProcessor::wrap_email_message() code WC 11.1.2

private function wrap_email_message( string $heading, string $body ): string {
	return WC()->mailer()->wrap_message( $heading, $body );
}