MailPoet\EmailEditor

EmailCssInliner::from_html()publicWC 1.0

Method of the class: EmailCssInliner{}

No Hooks.

Return

null. Nothing (null).

Usage

$EmailCssInliner = new EmailCssInliner();
$EmailCssInliner->from_html( $unprocessed_html ): self;
$unprocessed_html(string) (required)
-

EmailCssInliner::from_html() code WC 9.8.1

public function from_html(string $unprocessed_html): self {
  $that = new self();
  $that->inliner = CssInliner::fromHtml($unprocessed_html);
  return $that;
}