Back when Multisite first appeared, there were multiple blogs in a single site. The *_site_option
functions are from that older Multisite era.
Now in current Multisite you have multiple sites in a network, so the meaning of “site” has made a confusing change.
In the context of these functions, think of them as network functions and it may make more sense. They create and update options which are not associated to a particular site in your network, but are global to the whole network.
If you want unique, per-site options, use the regular add_option
, update_option
, and get_option
.
Related Posts:
- How to add Custom Blog Options to new blog setup form?
- Plugin for editing options on multisite?
- differences between behavior get_option vs get_site_option in multisite
- How To Provide Sub-Blogs Their Own Domain Names?
- Multisite: How to store global options vs. site options?
- How do I share plugin settings across WordPress network?
- Blog Settings import/export in WordPress Network environment
- How to make WordPress use new Upload Path settings in Multisite Setup
- Add site options UI in Multisite Sites > Infos page
- What is the correct form action URL for network options pages?
- Using WP CLI to set options in WP Multisite
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- How to update_site_option for specific site within network?
- WordPress (+WPMU) Import/Export ALL settings?
- Does WordPress MultiSite use separate MySql databases?
- What are Attributes used for in a WordPress Multisite?
- Multisite Network menu links not updating
- How to get option values set from all sites within a Multisite setup?
- Bulk theme settings in wordpress multisite
- What is the function to get options of the parent site of a multisite network?
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- WordPress Network admin options page: how to store options and where will they be stored?
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- Register submenu on network menu from the subsite
- Why is MySQL receiving such a large serialized object?
- How do you update a network option value in the DB via a hook
- Update blog option during create new blog?
- get_site_option / update_site_option – the main site and sub sites do not share the same storage
- Multisite Equivalent of `register_setting`?
- wp option get blogname –url=my-sub-site.com returning main site option
- Update siteurl and home in multisite subsites to https
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- multisite shared settings
- How to display update message only to admin
- How to set an option for all sites in my Multisite network?
- How to use WordPress Multisite With Different Domain Names?
- multisite: use a virtual subfolder for subblogs
- WP Multisite – multilanguage – swich to other language by click, but “same” content
- “You need a higher level of permission” after admin changing. Why?
- Advanced Custom Fields Multisite Upload/Imagery Issue [closed]
- Prevent user creating new users with specific roles
- Lock one of WP Network sites for not registered users
- BuddyPress on Multisite [closed]
- Migrating WPMS from apache to IIS7 causes Database Error
- Add menu page on multisite
- Subfolder multisite issue. Themes and plugin files 404
- htmll lang=”de” but admin page in English
- Multisite list all pages in site
- Dissolve Multisite while making site #5 the main site?
- Disable domain redirect
- Multisite setup on IIS with subdomains
- Disabling outbound connectivity on web servers [closed]
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- How to store custom user data on the database?
- NGINX rewrite rules for sub subdomains
- Enable wildcard in a WordPress Multisite (Sub-Domains)
- Temp URL Redirect Loop
- Multisite with subfolders- can’t access main site- Error establishing a database connection
- WP MU Register User across all blogs
- Set default settings for all new multisites?
- How to disable a network enabled plugin on all sites, excepting on one?
- wp_mail() not sending email in multisite subdomain
- What are good approaches to routing some urls to a second WordPress install?
- Show content of other domain inside WordPress
- Moving a remote WordPress multisite installation to local
- Multisite redirecting wrong when without WWW
- Multisite, domain mapping and SSL?
- 3 blogs on one site with the same header menu?
- Get users registered 30 days ago(or more)
- WordPress in subdirectory, Multisite using subdomains Nginx
- WordPress Multisite with subdomains on different domains
- Is WordPress cache shared for all blogs in a multisite network?
- Display Selected themes to user in admin for wordpress multisite
- White blank page when Updating/Draft/Publishing Page/Post
- blog change and move to anther hosting for a multisite
- How to unindex a single blog in Multisite?
- How to redirect user after session timeout
- WPMU If MU site has no administrator, deactivate site
- Questions about MU database schema and how to list all blogs
- Insert post into subsite using code
- Multisite ad server solution
- Function to Load Admin CSS for Super Admin on Multisite
- I want to replicate my sub site similar to my primary site in WordPress Multisite Network
- Getting file errors in a WordPress Multisite ADMIN
- Created child theme from Themegrill Flash-Pro and the child theme is blank
- Multi site migration error for wildcard domains
- Multiple Languages for each subsite on a Multisite
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- Whats the best Practice for using a different Theme for WebView Apps?
- Current blog is returning ID of 1 instead of users blog ID?
- Multilingual multisite > customisable footer across different sites with widgets?
- Manually insert post into MULTISITE database: Need to specify the TABLE
- No input file specified after enabling multi site
- How do I enable Multisite on WP 3.7.1?
- Registration Page
- Can admins on network install view and edit users accounts?
- WordPress Multisite with HTML template as Root
- WordPress Multisite (Network) some site users added to main site users list as subscriber
- Moving a WordPress Multisite site to a new install
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering