Automattic\WooCommerce\StoreApi\Utilities
RateLimits::get_cache_key()
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() RateLimits::get cache key code WC 9.3.3
protected static function get_cache_key( $action_id ) { return WC_Cache_Helper::get_cache_prefix( 'store_api_rate_limit' . $action_id ); }