WC_Rate_Limiter::get_cache_key()protected staticWC 1.0

Gets a cache prefix.

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

Хуков нет.

Возвращает

Строку.

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

$result = WC_Rate_Limiter::get_cache_key( $action_id );
$action_id(строка) (обязательный)
Identifier of the action.

Код WC_Rate_Limiter::get_cache_key() WC 8.7.0

protected static function get_cache_key( $action_id ) {
	return WC_Cache_Helper::get_cache_prefix( 'rate_limit' . $action_id );
}