WC_Rate_Limiter::get_cached()
Retrieve a cached rate limit.
Метод класса: WC_Rate_Limiter{}
Хуков нет.
Возвращает
true|false|int
.
Использование
$result = WC_Rate_Limiter::get_cached( $action_id );
- $action_id(строка) (обязательный)
- Identifier of the action.
Код WC_Rate_Limiter::get_cached() WC Rate Limiter::get cached WC 8.7.0
protected static function get_cached( $action_id ) { return wp_cache_get( self::get_cache_key( $action_id ), self::CACHE_GROUP ); }