Automattic\WooCommerce\Admin\Notes\MerchantEmailNotifications
NotificationEmail::get_content_plain() public WC 1.0
Get content plain.
{} Это метод класса: NotificationEmail{}
Хуков нет.
Возвращает
Строку.
Использование
$NotificationEmail = new NotificationEmail(); $NotificationEmail->get_content_plain();
Код NotificationEmail::get_content_plain() NotificationEmail::get content plain WC 5.0.0
public function get_content_plain() {
return wc_get_template_html(
$this->get_template_filename( 'plain' ),
array(
'email_heading' => $this->get_heading(),
'email_content' => $this->get_note_content(),
'email_actions' => $this->get_actions(),
'sent_to_admin' => true,
'plain_text' => true,
'email' => $this,
'trigger_note_action_url' => $this->trigger_note_action_url,
),
'',
$this->template_base
);
}