Tribe__Events__Aggregator__Service::is_over_limit( boolean $ignore_cache = false )
Returns whether or not the limit has been exceeded
Contents
Parameters
- $ignore_cache
-
(boolean) (Optional) Whether or not cache should be ignored when fetching the value
Default value: false
Return
(boolean)
Source
File: src/Tribe/Aggregator/Service.php
public function is_over_limit( $ignore_cache = false ) {
$limits = $this->get_usage( 'import', $ignore_cache );
return isset( $limits->remaining ) && 0 >= $limits->remaining;
}