Automattic\WooCommerce\Admin
ReportCSVEmail::get_content_plain
Get content plain.
Метод класса: ReportCSVEmail{}
Хуков нет.
Возвращает
string.
Использование
$ReportCSVEmail = new ReportCSVEmail(); $ReportCSVEmail->get_content_plain();
Код ReportCSVEmail::get_content_plain() ReportCSVEmail::get content plain WC 11.1.2
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
);
}