SimplePie::force_cache_fallback PHP Method

force_cache_fallback() public method

This tells SimplePie to ignore any file errors and fall back to cache instead. This only works if caching is enabled and cached content still exists.
public force_cache_fallback ( boolean $enable = false )
$enable boolean Force use of cache on fail.
    public function force_cache_fallback($enable = false)
    {
        $this->force_cache_fallback = (bool) $enable;
    }