WC_Email_Customer_New_Account::get_block_editor_email_template_content
Get block editor email template content.
Метод класса: WC_Email_Customer_New_Account{}
Хуков нет.
Возвращает
Строку.
Использование
$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 Email Customer New Account::get block editor email template content WC 10.8.1
public function get_block_editor_email_template_content() {
return wc_get_template_html(
$this->template_block_content,
array(
'user_login' => $this->user_login,
'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.
)
);
}