WC_Rate_Limiter::get_cache_key
Gets a cache prefix.
Method of the class: WC_Rate_Limiter{}
No Hooks.
Returns
String.
Usage
$result = WC_Rate_Limiter::get_cache_key( $action_id );
- $action_id(string) (required)
- Identifier of the action.
WC_Rate_Limiter::get_cache_key() WC Rate Limiter::get cache key code WC 10.4.3
protected static function get_cache_key( $action_id ) {
return WC_Cache_Helper::get_cache_prefix( 'rate_limit' . $action_id );
}