Automattic\WooCommerce\Blocks\Domain\Services\Email

CustomerNewAccount::get_content_plain()publicWC 1.0

Get content plain.

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

Хуков нет.

Возвращает

Строку.

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

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

Код CustomerNewAccount::get_content_plain() WC 8.7.0

public function get_content_plain() {
	return wc_get_template_html(
		$this->template_plain,
		array(
			'email_heading'      => $this->get_heading(),
			'additional_content' => $this->get_additional_content(),
			'user_login'         => $this->user_login,
			'blogname'           => $this->get_blogname(),
			'set_password_url'   => $this->set_password_url,
			'sent_to_admin'      => false,
			'plain_text'         => true,
			'email'              => $this,
		),
		'',
		$this->default_template_path
	);
}