ActionScheduler_Lock::instance()public staticWC 1.0

Method of the class: ActionScheduler_Lock{}

Hooks from the method

Return

ActionScheduler_Lock.

Usage

$result = ActionScheduler_Lock::instance();

ActionScheduler_Lock::instance() code WC 8.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;
}