$version, 'items' => $changes, ]; } // Cache forever (until version changes). set_transient($cache_key, $all_data, YEAR_IN_SECONDS); return $all_data; }