Have you seen these?
get_blog_option()
update_blog_option()
delete_blog_option()
I’m on a mobile now so I can’t re-check this, but my guess is that the option value gets stored in your ‘master’ blog table and you’re trying to access it from a different blog/site. Could that be the case?
Try passing the master blog ID to the functions listed above. Something like:
$options = get_blog_option( 1, 'ad_options' );
Just a guess though .)
Related Posts:
- Redirect to another page using contact form 7? [closed]
- ‘Global’ settings page for multisite plugin
- How to add field for new site-wide option on Network Settings screen?
- Making my plugin multi-site compatible
- Inherit plugin settings to new site in Multisite
- How to tell if plugin has been network activated
- How to find out if option exists but is empty?
- Custom plugin settings: clicking “save changes” does not display success message
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- Duplicate settings of master blog to slave blogs in WP multi-site installation
- Network-Wide Plugin Settings Management
- How to fetch serialized data from wordpress options
- WordPress network: set themes and plugins for new blog
- What is the function to get plugin base url in multisite?
- Get all options saved by another plugin
- Having separate plugins and themes folder for multi-site setup
- add action wp_head not working
- Why is the Settings API is not saving my array of options
- Is it possible to set up multistore in Woocommerce? [closed]
- Default Plugin Settings Not Writing to Database
- Update Option Error: Notice: Undefined index
- How to define WordPress plugin shortcode globally for multisite?
- How to add class in plugin only for network site?
- Serialize data for wp options
- How can I add an options page for my class based plugin?
- How to write a plugin to add users to a mail list
- Get plugin option in another PHP file
- How to get specific setting by settings_fields()?
- Add Plugin options as subpage to Theme options page
- php page not found for plugin options menu
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- Certain functions are undefined when called form mu-plugins
- WordPress error: Options page Setting_ not found in the allowed options list
- WordPress Multisite: Programmatically Activate / Deactivate a Plugin of a Specific Blog
- Can I use register_settings and unregister_setting once the settings page has loaded?
- update_option_{$option} not showing old value
- How to prevent plugins from sniffing/stealing other plugins’ options?
- get_option / wp_localize_script Not Working in OOP Plug In
- How to remove a CPT Menu from the Root Admin only
- Need to add/remove group of options and display them as rows
- Multisite Plugin – Access options (wp_options) on child sites
- How to make sure settings are not lost when plugin is updated?
- wp_options not returning value for logged out users?
- Activation flow of a plugin in a multisite environment
- How to save Setting pages data to the database?
- Problem with MEMCACHE and Redis with wp_options
- WP Forms not displaying,becomming an fatal error
- Fatal error: require_once(): Failed opening required
- How to capture hidden values with Gravity Forms
- Creating one user access account for all the multiple sites
- Plugin Options Page and Subpage
- How to save the option’s new values plus old value without overwrite old one
- Why my multisite is this slow? (stats inside)
- WP options plugin setting not saving the selected checkboxes
- Echo custom admin field into a is_single()
- Protect WordPress option value
- WordPress Boilerplate Plugin doesn’t see callback functions for add_settings_field and add_settings_section
- How do I add a textarea (multirow) option to my WordPress plugin?
- Why is the WordPress update_option not working in this code?
- Coming soon pages with rest of site in maintenance mode
- How to create a new database table whenever user changes options
- Create Array from data in the OPTIONS table
- Force Network Activated Plugin to Run After Site Level Plugins
- Validating values using Settings API?
- Saving an array to get_options
- How to set the default options on an existing plugin in a WP MU new user install
- Check if user is in a group of another site within multisite network [closed]
- Active Plugins for current blog in WP Multisite Network? [duplicate]
- Building a simple “settings” plugin to change textstrings on the home page
- My first plugin doesn’t save the data in options
- Add custom fields in the new and edit the site forms without touching the WP core
- How to access values from your own settings page in javascript?
- move setting data from wordpress api to codestar freamwork
- When to store store plugin options as a single database record?
- Issue removing Media Editor Tabs — Duplicate Items
- What is necessary to secure a WP plugin against direct file access attempts?
- How to add img into a plugin?
- Calling a class method instantiated by ajax call in wordpress [closed]
- WordPress’s is_plugin_active_for_network function not working for multisites
- Custom CSS not being added by plugin
- Plugin generated unexpected output – No PHP errors
- Changing plugin options from theme functions file?
- Don’t load the theme for a page FROM a plugin EDITED
- Extending a theme: build new features as plugin or core modules?
- How to set the default value as the saved value once a form of widget is saved?
- Adding a theme option to the admin that lets me turn on/off a javascript file
- How to make a textarea accept javascript in my settings apge?
- Cannot add edit themes and add plugins after multisite update
- Plugin generating unexpected output – on WP mysql dump import
- Each User has a Personal Blog
- Remember the Meta Value With Radio Buttons
- How to use add_action for multiple instances of the same class
- jQuery code didn’t run on my plugin
- How do I show content from a plugin using the template the site is currently working with?
- How to check homepage contain blog post?
- Plugin option default value
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- Every time I de-activate a custom plugin, the site encounters a critical error
- Display my plugins content based on a pages post_id
- How to edit link for comment count