Automattic\WooCommerce\Admin

ReportCSVEmail::get_content_plain()publicWC 1.0

Get content plain.

Method of the class: ReportCSVEmail{}

No Hooks.

Return

String.

Usage

$ReportCSVEmail = new ReportCSVEmail();
$ReportCSVEmail->get_content_plain();

ReportCSVEmail::get_content_plain() code WC 8.6.1

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
	);
}