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]
- What are the standard admin CSS id/class tags?
- Admin Ajax is returning 0
- Add custom column to Users admin panel
- Add multiple custom fields to the general settings page
- wp_verify_nonce vs check_admin_referer
- Add a Separator to the Admin Menu?
- How to determine whether we are in add New page/post/CPT or in edit page/post/CPT in wordpress admin?
- how to know if admin is in edit page or post [duplicate]
- Modal window from within WordPress admin
- “Error: Options Page Not Found” on Settings Page Submission for an OOP Plugin
- How to pass arguments from add_settings_field() to the callback function?
- Where in WP can I check history or log of updates of plugins etc?
- Adding a custom admin page
- Is get_option function cached?
- How does admin-ajax.php work?
- How to pass variable to add_settings_section() callback?
- How to remove entire admin menu?
- How do I remove dashboard access from specific user roles?
- What are the advantages to the Settings API?
- How can I speed up my WP admin section?
- How to pass parameters to admin_notices?
- Admin: very slow edit page caused by core meta query
- if admin is logged in
- Where to store plugin settings fields
- Search posts by ID in admin
- How to Change the Default Home Page for the WordPress Dashboard?
- Setting admin edit panels & metaboxes positions and visibility for ALL users and admins
- Find out which moderator approved comment?
- The website cannot display the page
- How To Remove WordPress Version From The Admin Footer
- Sort pages in loop by admin’s page attributes order field?
- Edit “thank you for creating with WordPress” in version 3.3.1
- Hide other users’ posts in admin panel
- Set Default Admin Colour For All Users
- Editor Styles and Typekit
- WordPress admin stylesheet
- Is it possible to create a WordPress tour? V3.3.1
- Securing Admin Accounts – Username Discovery
- WordPress Settings API, Implementing Tabs On Custom Menu Page
- is_admin() returns true when using admin-ajax.php from front end script
- How to save dismissable notice state in WP 4.2?
- How do I optimize a custom post type admin page with 25,000 posts?
- Disable Media Uploads to non Admin Users
- How do I load a CSS style into WordPress admin area only?
- Allowing admin-ajax.php to receive “application/json” instead of “x-www-form-urlencoded”
- Can an admin check passwords of registered users?
- How can I target WordPress 3.8 new interface MP6 with CSS?
- Notification that the admin is online
- Difference between Option_Group and Option_Name in Register_Settings
- Does wordpress create activity, update logs?
- sort child pages on admin
- How-to make the admin area mobile friendly [closed]
- How to remove list view from media library?
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- Load plugin scripts and styles only on plugin page
- What’s the best method for emptying an option created with the Settings API?
- Plugin to remove Admin menu items based on user role?
- How to obtain the user ID of the current profile being edited in WP-Admin?
- 3.3: How do you hide the new dashboard welcome panel?
- Add my own button next to “Screen options” and “Help” in the admin
- WP List Table custom quick edit box – post meta data missing and columns change on submit
- Are there any action like ‘init_frontend’
- Should I use is_admin() inside ‘admin_init’ hook callback
- Custom admin email for new user registration
- Send Admin Emails to Multiple Email Addresses
- How do I set up the defualt page icon for admin menu?
- Settings API – creating reusable form elements?
- Prevent author from changing their posts if admin has modified
- Cannot access admin panel
- add static page to reading settings for custom post type
- Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles
- Disable all https in WordPress
- localhost/wp-admin on my local redirects to production site’s /wp-admin
- Settings API – changing add_settings_field() output?
- How to remove administrator role in settings -> general -> New User Default Role?
- How do I create my own admin button and theme settings page?