wordpress/wp-content/themes/basic/themify/class-themify-cache.php
/**
     * Check if cache time
     *
     * return boolean
     */
Check if cache time
return boolean
Check if cache time return boolean
private static function check_cache($cache_dir, $time = false) {
        if (!is_file($cache_dir)) {
            return false;
        } else {
            if(!$time){
                $time = self::getExpire();
            }
            $last = (strtotime('now') - filemtime($cache_dir)) / 3600;
            if ($last >= $time) {
                return false;
            }
        }
        return true;
    }
private static function check_cache ( $ cache_dir , $ time = false ) { if ( ! is_file ( $ cache_dir ) ) { return false ; } else { if ( ! $ time ) { $ time = self :: getExpire ( ) ; } $ last = ( strtotime ( 'now' ) - filemtime ( $ cache_dir ) ) / 3600 ; if ( $ last >= $ time ) { return false ; } } return true ; }
Check if cache time
 return boolean
Check if cache time return boolean