Automattic\WooCommerce\StoreApi\Utilities

RateLimits::get_cache_key()protected staticWC 1.0

Gets a cache prefix.

Method of the class: RateLimits{}

No Hooks.

Return

String.

Usage

$result = RateLimits::get_cache_key( $action_id );
$action_id(string) (required)
Identifier of the action.

RateLimits::get_cache_key() code 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 );
}