Automattic\WooCommerce\Internal\StockNotifications\Emails

CustomerStockNotificationVerifyEmail::get_content_plainpublicWC 1.0

Get content plain.

Method of the class: CustomerStockNotificationVerifyEmail{}

No Hooks.

Returns

String.

Usage

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

CustomerStockNotificationVerifyEmail::get_content_plain() code WC 10.3.6

public function get_content_plain() {
	return wc_get_template_html(
		$this->template_plain,
		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'         => true,
				'email'              => $this,
			),
		),
	);
}