Automattic\WooCommerce\Internal\CustomerEmailVerification\Emails
CustomerVerifyEmail::get_content_plain
Get content plain.
Method of the class: CustomerVerifyEmail{}
No Hooks.
Returns
String.
Usage
$CustomerVerifyEmail = new CustomerVerifyEmail(); $CustomerVerifyEmail->get_content_plain();
CustomerVerifyEmail::get_content_plain() CustomerVerifyEmail::get content plain code WC 11.0.0
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,
)
);
}