WC_Email_Admin_Payment_Gateway_Enabled::get_content_plain
Get content plain.
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_content_plain();
Changelog
| Since 10.6.0 | Introduced. |
WC_Email_Admin_Payment_Gateway_Enabled::get_content_plain() WC Email Admin Payment Gateway Enabled::get content plain code WC 10.7.0
public function get_content_plain() {
return wc_get_template_html(
$this->template_plain,
array(
'gateway' => $this->object,
'gateway_title' => $this->gateway_title,
'gateway_settings_url' => $this->gateway_settings_url,
'username' => $this->username,
'admin_email' => $this->admin_email,
'email_heading' => $this->get_heading(),
'additional_content' => $this->get_additional_content(),
'sent_to_admin' => true,
'plain_text' => true,
'email' => $this,
)
);
}