WC_Email_Customer_New_Account::get_content_plain
Get content plain.
Метод класса: WC_Email_Customer_New_Account{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Email_Customer_New_Account = new WC_Email_Customer_New_Account(); $WC_Email_Customer_New_Account->get_content_plain();
Код WC_Email_Customer_New_Account::get_content_plain() WC Email Customer New Account::get content plain WC 10.4.2
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,
'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.
)
);
}