ActionScheduler_OptionLock::get_key()
Get the key to use for storing the lock in the transient
Method of the class: ActionScheduler_OptionLock{}
No Hooks.
Return
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_key( $lock_type );
- $lock_type(string) (required)
- A string to identify different lock types.
ActionScheduler_OptionLock::get_key() ActionScheduler OptionLock::get key code WC 8.7.0
protected function get_key( $lock_type ) { return sprintf( 'action_scheduler_lock_%s', $lock_type ); }