WC_Rate_Limiter::get_cache_key
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 Rate Limiter::get cache key WC 10.4.2
protected static function get_cache_key( $action_id ) {
return WC_Cache_Helper::get_cache_prefix( 'rate_limit' . $action_id );
}