Automattic\WooCommerce\Internal\Admin\Notes

EmailNotification::get_content_plain()publicWC 1.0

Get content plain.

Method of the class: EmailNotification{}

No Hooks.

Return

String.

Usage

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

EmailNotification::get_content_plain() code WC 8.7.0

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
	);
}