Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCEmailTemplateChangeSummary::set_loggerpublic staticWC 1.0

Override the logger implementation. Intended for tests only.

Method of the class: WCEmailTemplateChangeSummary{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WCEmailTemplateChangeSummary::set_logger( ?Email_Editor_Logger_Interface $logger ): void;
?Email_Editor_Logger_Interface $logger(required)
.

WCEmailTemplateChangeSummary::set_logger() code WC 10.9.1

public static function set_logger( ?Email_Editor_Logger_Interface $logger ): void {
	self::$logger = $logger;
}