WC_Email_Customer_New_Account::get_block_editor_email_template_content │ public │ WC 1.0

Get block editor email template content.

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

Хуков нет.

Возвращает

string.

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

$WC_Email_Customer_New_Account = new WC_Email_Customer_New_Account();
$WC_Email_Customer_New_Account->get_block_editor_email_template_content();

Код WC_Email_Customer_New_Account::get_block_editor_email_template_content() WC 11.2.2

public function get_block_editor_email_template_content() {
	return wc_get_template_html(
		$this->template_block_content,
		array(
			'user_login'         => $this->user_login,
			'user_display_name'  => $this->user_display_name,
			'set_password_url'   => $this->set_password_url,
			'sent_to_admin'      => false,
			'plain_text'         => false,
			'email'              => $this,
			'password_generated' => $this->password_generated,
			'user_pass'          => $this->user_pass, // Password is no longer used in the template, but we're keeping it here for backwards compatibility with custom templates.
		)
	);
}