WC_Email_Customer_Invoice::get_content_plain
Get content plain.
Method of the class: WC_Email_Customer_Invoice{}
No Hooks.
Returns
String.
Usage
$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice(); $WC_Email_Customer_Invoice->get_content_plain();
WC_Email_Customer_Invoice::get_content_plain() WC Email Customer Invoice::get content plain code WC 10.7.0
public function get_content_plain() {
return wc_get_template_html(
$this->template_plain,
array(
'order' => $this->object,
'email_heading' => $this->get_heading(),
'additional_content' => $this->get_additional_content(),
'sent_to_admin' => false,
'plain_text' => true,
'email' => $this,
)
);
}