Automattic\WooCommerce\EmailEditor
Email_Css_Inliner::render
Renders the HTML with inlined CSS.
Method of the class: Email_Css_Inliner{}
No Hooks.
Returns
String. The processed HTML.
Usage
$Email_Css_Inliner = new Email_Css_Inliner(); $Email_Css_Inliner->render(): string;
Email_Css_Inliner::render() Email Css Inliner::render code WC 10.6.2
public function render(): string {
if ( ! isset( $this->inliner ) ) {
throw new \LogicException( 'You must call from_html before calling render' );
}
/** Ignore PHPStan analysis for dynamic inliner method call. @phpstan-ignore-next-line */
return $this->inliner->render();
}