MailPoet\EmailEditor\Engine
Send_Preview_Email::set_mail_content_type()
Sets the mail content type. Used by $this->send_email.
Method of the class: Send_Preview_Email{}
No Hooks.
Return
String
. The content type that was set.
Usage
$Send_Preview_Email = new Send_Preview_Email(); $Send_Preview_Email->set_mail_content_type( $content_type ): string;
- $content_type(string) (required)
- The content type to be set for the mail.
Send_Preview_Email::set_mail_content_type() Send Preview Email::set mail content type code WC 9.8.1
public function set_mail_content_type( string $content_type ): string { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found return 'text/html'; }