Automattic\WooCommerce\EmailEditor

Email_Css_Inliner::renderpublicWC 1.0

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() code WC 9.9.5

public function render(): string {
	if ( ! isset( $this->inliner ) ) {
		throw new \LogicException( 'You must call from_html before calling inline_css' );
	}
	return $this->inliner->render();
}