As per the Codex on update_blog_option:
Switches to the blog id specified, runs update_option() and then
restores to the current blog. If $refresh is true then it will refresh
the blog details.
Not tested, but I think your problem is trying to update elements of the array instead of the whole thing:
$the_options = get_blog_option($blog_id, 'mytheme_options');//retrieve all options
$the_options['country_base'] = $the_country;
$the_options['currency_unit'] = $d_currency;
update_blog_option($blog_id, 'mytheme_options', $the_options);
Related Posts:
- Settings API – easiest way of validating checkboxes?
- Settings API not saving values to database
- Call require_once form admin page with checkbox
- This CSS Stuffing Works, But Is This A Good Practice?
- Settings API – adding setting fields dynamically?
- WordPress Admin back-end – advanced options page?
- How To View Site from Non-Logged-In User’s Perspective
- Custom plugin settings: clicking “save changes” does not display success message
- Is it safe to post form data via Ajax to the settings api? Am I missing something?
- wp_dropdown_pages() in theme admin page
- How can I show the contents of only a few users
- Admin option sidebar count
- Problem with Settings API: changes are not saved after submit
- Add Custom Script in Other Plugin’s Options page
- Accessing variable from admin panel?
- How can I POST or GET to the same admin page from which I am POST-ing or GET-ing
- WordPress custom admin functions security
- Show global Message in User Profiles with admin only Input field in WordPress Backend
- Settings API – Last two tabs not rendered separate
- Get Link of Page Selected through a Select Field in Custom Admin Page
- My code for creating an admin option doesn’t work
- I don’t have permission to save the theme options I created myself?
- Pull Random Images From Options Page [closed]
- Woo Commerce Settings for Check-out Form [closed]
- Admin Ajax is returning 0
- Add a Separator to the Admin Menu?
- Adding a custom admin page
- Custom admin email for new user registration
- How to display an admin notice after updating plugin settings?
- A similar hook as wp_head for the admin area
- Hide allow trackbacks/pingbacks
- Add Settings to Custom Post Type
- Gallery Settings Change available Columns
- Hide Admin menus per role in WordPress
- wordpress upload http error?
- Can’t output do_settings_sections . Can’t understand why
- Dynamically Set WordPress Post Title To The Category Name
- How to find out if an wp-admin action edited a file?
- Text snippets shared across posts
- Add Admin User via SQL
- how can I detect that option value has changed?
- How to remove Gravatar from Username column
- Page only shows when user is logged in (even with visibility set to public)
- How to display some settings for super admin user only using Settings API
- I keep getting logged out in Firefox
- Performance of several get_option() calls
- get_template_part in admin
- Why Jetpack is missing the “Feedbacks” menu item? [closed]
- Is there a limit to the number of options you can store in one settings field of wp_options?
- How to set CORS header?
- Create a Meta Box in the Admin User Screen?
- Send email to Admin when user/member updates specific user/member data
- Help with shortcode in admin-ajax [closed]
- Protect custom php file with login
- How to get bool with `get_option()` when already registered setting with type `boolean`
- Limit Words in Category / Term Description – Admin Panel
- Change top level menu item to point to custom submenu item
- Change admin logout URL
- Remove Internal Style Sheet if no Value Provided?
- Default admin color scheme as “blue”
- Can user #1 (the initial user) be deleted without ill effect?
- wp-admin post.php JavaScript Links Not Working
- Remove duplicate product link from WooCommerce Page Row Actions
- Settings API – Separating PHP and HTML
- How to set default editor tab
- How do I add an admin notice within javascript in the admin interface for posts?
- Admin toolbar shows up when not logged in
- Make the Status, Visibility, or Date fields opened by default in the Publish box
- Options page – dropdown of users
- WordPress Admin Login Redirect Problem
- 500 internal server error on wp-admin only
- Admin Top Bar Not Showing On Front End
- WordPress administration Over SSL – To Force SSL Logins and SSL Admin Access
- Only Admin can Edit, Delete or Update
- How to verify nonces in bulk?
- Hide post title input for all roles except admin
- How to activate the dashboard
- Plugin getting Cannot modify header information errors
- avoiding the display of certain categories to certain user roles at content entry time
- hide elements of admin with css file
- WordPress Hacked 5.5 admin-ajax.php [closed]
- how to remove +new from wp admin area
- Visual Editor only working for the admin user
- Extending the user profile [closed]
- Show private pages in public when you logged in as admin?
- Any known plugins for master admin login to edit all on front end?
- How to exclude some post from admin edit screen
- How to show WordPress admin dashboard forms on front-end?
- WordPress – add help text under category list(right side) in post edit page
- Cannot access wp-admin after installing SSL – user capabilities not being set
- Where to store publicly-accessible files
- add_settings_error on validating plugin options API
- Admins loggin in to our wordpress site default to the admin page
- Display Graphs in Admin Pages
- ‘Conflict’ with action deleted_post and is_admin()
- Dropdown list of available posts for post editing
- Unsure how to add simple checkboxes that write to a small table to admin
- Custom styles and scripts for specific admin screen
- Is it possible to get rid of admin new updates notifications?
- Cant enter admin page with SSL