Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sunny Johal

    (@sunny_johal)

    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

    (@pthpndr)

    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.