Automattic\WooCommerce\EmailEditor

Email_Css_Inliner::render │ public │ WC 1.0

Renders the HTML with inlined CSS.

Метод класса: Email_Css_Inliner{}

Хуков нет.

Возвращает

string. The processed HTML.

Использование

$Email_Css_Inliner = new Email_Css_Inliner();
$Email_Css_Inliner->render(): string;

Код Email_Css_Inliner::render() WC 11.2.1

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();
}