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
- Pass PHP variable to javascript
- wordpress get meta value by meta key
- What areas to Unit test while building a plugin?
- Can I enable/disable/hide plugins on a per-site basis in multisite?
- Errors while using ajax from external wordpress page
- Current user in plugin returns NULL
- How can I implement a notification system in wordpress?
- Building an email signup form. Where should the information be saved in the DB?
- Create entire wordpress as a github repositery?
- Subdomains with almost the same content
- WordPress checkbox and Illegal string offset
- How to Show Author image and url in WordPress plugin directory? [closed]
- jQuery code didn’t run on my plugin
- Custom Module, Extending WP with a Plugin?
- How to upload large media file in chunks, without any plugin?
- How to store a secret for a plugin inside public_html
- How to use functions found inside pluggable.php with my plugin files
- Multisite converted to Single Site can’t add new plugins or new themes
- Category as Subdomain for One WP Install
- How to enable Admins to see Plugins
- Activate plugin button do nothing [closed]
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Update Content for a Custom Block Toolbar Button
- Submitting form to admin-post.php WordPress
- WordPress Throwing Deprecated Errors on its own Files