WC_Email_Admin_Payment_Gateway_Enabled::get_block_editor_email_template_content
Get block editor email template content.
Method of the class: WC_Email_Admin_Payment_Gateway_Enabled{}
No Hooks.
Returns
String.
Usage
$WC_Email_Admin_Payment_Gateway_Enabled = new WC_Email_Admin_Payment_Gateway_Enabled(); $WC_Email_Admin_Payment_Gateway_Enabled->get_block_editor_email_template_content();
Changelog
| Since 10.6.0 | Introduced. |
WC_Email_Admin_Payment_Gateway_Enabled::get_block_editor_email_template_content() WC Email Admin Payment Gateway Enabled::get block editor email template content code WC 10.9.4
public function get_block_editor_email_template_content() {
return wc_get_template_html(
$this->template_block_content,
array(
'gateway' => $this->object,
'gateway_title' => $this->gateway_title,
'gateway_settings_url' => $this->gateway_settings_url,
'username' => $this->username,
'admin_email' => $this->admin_email,
'sent_to_admin' => true,
'plain_text' => false,
'email' => $this,
)
);
}