ActionScheduler_OptionLock::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.


Top ↑

Return Return

(bool|int) False if no lock is set, otherwise the timestamp for when the lock is set to expire.


Top ↑

Source Source

File: packages/action-scheduler/classes/ActionScheduler_OptionLock.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.