Title: Multisite with API Key
Last modified: August 24, 2016

---

# Multisite with API Key

 *  Resolved [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/multisite-with-api-key/)
 * Is there a way to set this up on Multisite with a single API key or will each
   site need its own API?
 * Thank You.
 * [https://wordpress.org/plugins/easy-google-fonts/](https://wordpress.org/plugins/easy-google-fonts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * (@sunny_johal)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/multisite-with-api-key/#post-6118679)
 * Hi PthPndr,
    Yes you can force/override the api key for all sites in your multisite
   network by hooking into the appropriate filter using the following code:
 *     ```
       function egf_set_multisite_google_api_key( $key ) {
           // Put the API Key in the quotes.
           return 'apikey';
       }
       add_filter( 'tt_font_default_google_api_key', 'egf_set_multisite_google_api_key' );
       ```
   
 * Let me know how you get on. Cheers
 * Sunny
 *  Thread Starter [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/multisite-with-api-key/#post-6118838)
 * Sunny,
 * My apologies for the delay but this appears to be working perfectly.
    Thank you
   for your help!.
 * Robert

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multisite with API Key’ is closed to new replies.

 * ![](https://ps.w.org/easy-google-fonts/assets/icon-256x256.png?rev=2562365)
 * [Easy Google Fonts](https://wordpress.org/plugins/easy-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-google-fonts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/multisite-with-api-key/#post-6118838)
 * Status: resolved