‘Global’ settings page for multisite plugin


I’m working on a plugin that will be installed in a multisite instance.

How do I create a single settings page that is visible at the “Network admin” level only – most of the guides i’ve seen relate to a standard blog level plugin. Any links to information would be useful, otherwise I’ll just end up going through sitewide tags to see how it’s being done there.


Looks like sitewide_tags uses add_site_option, get_site_option and update_site_option, and these functions use wp_sitemeta. However, from what I can see, there’s no support for register_setting, add_setting, etc, so you have to get and set your options manually.

, , anu 3 years 2020-04-03T12:52:10-05:00 0 Answers 84 views 0

Leave an answer