• 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 to see the link]

  • The topic ‘Cache’ is closed to new replies.