Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_content_html()publicWC 1.0

Get content html.

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

Хуков нет.

Возвращает

Строку.

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

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

Код EmailNotification::get_content_html() WC 8.7.0

public function get_content_html() {
	return wc_get_template_html(
		$this->get_template_filename( 'html' ),
		array(
			'email_actions'           => $this->get_actions(),
			'email_content'           => $this->format_string( $this->get_note_content() ),
			'email_heading'           => $this->format_string( $this->get_heading() ),
			'email_image'             => $this->get_image(),
			'sent_to_admin'           => true,
			'plain_text'              => false,
			'email'                   => $this,
			'opened_tracking_url'     => $this->opened_tracking_url,
			'trigger_note_action_url' => $this->trigger_note_action_url,
		),
		'',
		$this->template_base
	);
}