Title: Multisite global settings
Last modified: August 20, 2016

---

# Multisite global settings

 *  [jcnetsys](https://wordpress.org/support/users/jcnetsys/)
 * (@jcnetsys)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/)
 * Is there a way to save settings that can be retrieved by any site. My plugin 
   needs to be able to have one set of settings for all the sites in the network.
   How can I do this without making my own table?

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2133941)
 * Save it in one of the global tables.
 *  Thread Starter [jcnetsys](https://wordpress.org/support/users/jcnetsys/)
 * (@jcnetsys)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2133944)
 * Global tables? As far as I can see each site gets its own options table. I cannot
   see an option table that isn’t associated with a site. I was going to just use
   the site with id 1 to store global settings (under a different key) so that all
   sites could just reference that to fetch the global settings. However what if
   the user deleted the original site? Then there wouldn’t be a site with ID 1 and
   that would fail.
 *  Thread Starter [jcnetsys](https://wordpress.org/support/users/jcnetsys/)
 * (@jcnetsys)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2134038)
 * Found it. get_site_option, update_site_option. On a network site that is global
   settings.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2134075)
 * Also, blog #1 never ever gets deleted. at least not normally.
 *  Thread Starter [jcnetsys](https://wordpress.org/support/users/jcnetsys/)
 * (@jcnetsys)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2134076)
 * Not normally but it is possible.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2134097)
 * And inadvised. The first blog in the network is the default single WP you started
   with.
 * From the backend, there’s no delete button for the main site. You’d have to deliberately
   rearrange the network to get rid of it.

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

The topic ‘Multisite global settings’ is closed to new replies.

## Tags

 * [multi-site](https://wordpress.org/support/topic-tag/multi-site/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [network](https://wordpress.org/support/topic-tag/network/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 6 replies
 * 2 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/multisite-global-settings/#post-2134097)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
