WordPress at Your Fingertips
function is not described

ActionScheduler_OptionLock::get_key() protected WC 1.0

Get the key to use for storing the lock in the transient

{} It's a method of the class: ActionScheduler_OptionLock{}

No Hooks.




// 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.

Code of ActionScheduler_OptionLock::get_key() WC 6.1.1

protected function get_key( $lock_type ) {
	return sprintf( 'action_scheduler_lock_%s', $lock_type );