Automattic\WooCommerce\Internal\CustomerEmailVerification\Emails
CustomerVerifyEmail::get_content_plain
Get content plain.
Метод класса: CustomerVerifyEmail{}
Хуков нет.
Возвращает
string.
Использование
$CustomerVerifyEmail = new CustomerVerifyEmail(); $CustomerVerifyEmail->get_content_plain();
Код CustomerVerifyEmail::get_content_plain() CustomerVerifyEmail::get content plain WC 11.2.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_display_name' => $this->user_display_name,
'user_email' => $this->object instanceof WP_User ? $this->object->user_email : '',
'verify_url' => $this->verify_url,
'blogname' => $this->get_blogname(),
'sent_to_admin' => false,
'plain_text' => true,
'email' => $this,
)
);
}