WordPress at Your Fingertips
function is not described

WC_Email::supports_emogrifier() protected WC 3.5.0

Return if emogrifier library is supported.

{} It's a method of the class: WC_Email{}

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->supports_emogrifier();

Changelog

Since 3.5.0 Introduced.

Code of WC_Email::supports_emogrifier() WC 6.1.1

protected function supports_emogrifier() {
	return class_exists( 'DOMDocument' );
}