ActionScheduler_Lock::get_expiration( string $lock_type )
If a lock is set, return the timestamp it was set to expiry.
Description Description
Parameters Parameters
- $lock_type
-
(Required) A string to identify different lock types.
Return Return
(bool|int) False if no lock is set, otherwise the timestamp for when the lock is set to expire.
Source Source
File: packages/action-scheduler/classes/abstracts/ActionScheduler_Lock.php