WordPress at Your Fingertips
function is not described

ActionScheduler_Lock::instance() public WC 1.0

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

Hooks from the method

Return

ActionScheduler_Lock.

Usage

$result = ActionScheduler_Lock::instance();

Code of ActionScheduler_Lock::instance() WC 6.1.1

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