Automattic\WooCommerce\Internal\StockNotifications\Emails

CustomerStockNotificationVerifiedEmail::get_content_htmlpublicWC 1.0

Get content html.

Method of the class: CustomerStockNotificationVerifiedEmail{}

No Hooks.

Returns

String.

Usage

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

CustomerStockNotificationVerifiedEmail::get_content_html() code WC 10.3.6

public function get_content_html() {
	return wc_get_template_html(
		$this->template_html,
		array_merge(
			$this->get_additional_template_args(),
			array(
				'notification'       => $this->object,
				'product'            => $this->object->get_product(),
				'email_heading'      => $this->get_heading(),
				'intro_content'      => $this->get_intro_content(),
				'additional_content' => $this->get_additional_content(),
				'plain_text'         => false,
				'email'              => $this,
			),
		),
	);
}