Automattic\WooCommerce\StoreApi\Utilities
RateLimits::get_cache_key()
Gets a cache prefix.
Метод класса: RateLimits{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = RateLimits::get_cache_key( $action_id );
- $action_id(строка) (обязательный)
- Identifier of the action.
Код RateLimits::get_cache_key() RateLimits::get cache key WC 8.7.0
protected static function get_cache_key( $action_id ) { return WC_Cache_Helper::get_cache_prefix( 'store_api_rate_limit' . $action_id ); }