ActionScheduler_OptionLock::get_key()protectedWC 1.0

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

Метод класса: ActionScheduler_OptionLock{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_key( $lock_type );
$lock_type(строка) (обязательный)
A string to identify different lock types.

Код ActionScheduler_OptionLock::get_key() WC 8.7.0

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