Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_content_plain()publicWC 1.0

Get content plain.

{} Это метод класса: EmailNotification{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код EmailNotification::get_content_plain() WC 6.6.1

public function get_content_plain() {
	return wc_get_template_html(
		$this->get_template_filename( 'plain' ),
		array(
			'email_heading'           => $this->format_string( $this->get_heading() ),
			'email_content'           => $this->format_string( $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
	);
}