Automattic\WooCommerce\StoreApi\Utilities
RateLimits::get_cached()
Retrieve a cached store api rate limit.
Method of the class: RateLimits{}
No Hooks.
Return
true|false|Object
.
Usage
$result = RateLimits::get_cached( $action_id );
- $action_id(string) (required)
- Identifier of the action.
RateLimits::get_cached() RateLimits::get cached code WC 9.3.3
protected static function get_cached( $action_id ) { return wp_cache_get( self::get_cache_key( $action_id ), self::CACHE_GROUP ); }