ActionScheduler_Lock::instancepublic staticWC 1.0

Get instance.

Method of the class: ActionScheduler_Lock{}

Hooks from the method

Returns

ActionScheduler_Lock.

Usage

$result = ActionScheduler_Lock::instance();

ActionScheduler_Lock::instance() code WC 10.7.0

public static function instance() {
	if ( empty( self::$locker ) ) {
		$class        = apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' );
		self::$locker = new $class();
	}
	return self::$locker;
}