ActionScheduler_Logger::instance()public staticWC 1.0

Method of the class: ActionScheduler_Logger{}

Hooks from the method

Return

ActionScheduler_Logger.

Usage

$result = ActionScheduler_Logger::instance();

ActionScheduler_Logger::instance() code WC 9.3.3

public static function instance() {
	if ( empty(self::$logger) ) {
		$class = apply_filters('action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger');
		self::$logger = new $class();
	}
	return self::$logger;
}