ActionScheduler_Lock::instance()
Method of the class: ActionScheduler_Lock{}
Hooks from the method
Return
ActionScheduler_Lock
.
Usage
$result = ActionScheduler_Lock::instance();
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; }