Automattic\WooCommerce\Admin
ReportCSVEmail::get_content_plain
Get content plain.
Method of the class: ReportCSVEmail{}
No Hooks.
Returns
String.
Usage
$ReportCSVEmail = new ReportCSVEmail(); $ReportCSVEmail->get_content_plain();
ReportCSVEmail::get_content_plain() ReportCSVEmail::get content plain code WC 10.5.0
public function get_content_plain() {
return wc_get_template_html(
$this->template_plain,
array(
'report_name' => $this->report_type,
'download_url' => $this->download_url,
'email_heading' => $this->get_heading(),
'sent_to_admin' => true,
'plain_text' => true,
'email' => $this,
),
'',
$this->template_base
);
}