FS_User_Lock
Class FS_User_Lock
Description Description
Source Source
File: includes/pum-sdk/freemius/includes/class-fs-user-lock.php
Expand full source code Collapse full source code View on Trac
Methods Methods
- __construct
- has_lock — Checks if lock is currently acquired by the current locker.
- instance
- is_locked — Checks if lock is currently acquired.
- lock — Acquire lock regardless if it's already acquired by another locker or not.
- try_lock — Try to acquire lock. If the lock is already set or is being acquired by another locker, don't do anything.
- unlock — Unlock the lock.