Automattic\WooCommerce\Internal\CustomerEmailVerification\Emails
CustomerVerifyEmail::get_block_editor_email_template_content
Get the content rendered into the block email editor's WooCommerce content placeholder.
Метод класса: CustomerVerifyEmail{}
Хуков нет.
Возвращает
Строку.
Использование
$CustomerVerifyEmail = new CustomerVerifyEmail(); $CustomerVerifyEmail->get_block_editor_email_template_content();
Код CustomerVerifyEmail::get_block_editor_email_template_content() CustomerVerifyEmail::get block editor email template content WC 11.0.1
public function get_block_editor_email_template_content() {
return wc_get_template_html(
$this->template_block_content,
array(
'user_display_name' => $this->user_display_name,
'user_email' => $this->object instanceof WP_User ? $this->object->user_email : '',
'verify_url' => $this->verify_url,
'sent_to_admin' => false,
'plain_text' => false,
'email' => $this,
)
);
}