Title: Cache
Last modified: March 13, 2020

---

# Cache

 *  [leeroane](https://wordpress.org/support/users/leeroane/)
 * (@leeroane)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/cache-57/)
 * We are using WP Places to get hours of operation for about 200 businesses. Google
   charged us $3,000 last month. We installed the filter below, but that did not
   seem to do anything. Do you have any ideas to help us cache the data so we are
   not charged so much?
 * add_filter( ‘wp_places_transient’, ‘wp_places_update_transient’, 10, 1 );
    wp_places_update_transient(
   $time ) { // return a value in seconds for how long to cache. return 86400; //
   one day return 604800 // one week }
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-57%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Cache’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-places_c3c0c0.svg)
 * [WP_Places](https://wordpress.org/plugins/wp-places/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-places/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-places/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-places/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-places/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [leeroane](https://wordpress.org/support/users/leeroane/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/cache-57/)
 * Status: not resolved