Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_content_html()publicWC 1.0

Get content html.

Method of the class: EmailNotification{}

No Hooks.

Return

String.

Usage

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

EmailNotification::get_content_html() code WC 7.1.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
	);
}