That option is special in that WordPress has code to intercept your call for security reasons:
https://codex.wordpress.org/Function_Reference/update_option_new_admin_email
This function intercepts changes to the administrator’s email address. It keeps the address from being updated and instead sends the user a confirmation email, with a link to confirm the change.
What you’re trying to do could be easily abused, and any change of the administrators email should trigger notices as a basic security measure.
Luckily the documentation for that function also includes an example on how to bypass it
Related Posts:
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- Custom plugin settings: clicking “save changes” does not display success message
- Settings API – input always updates over validation
- Can’t get plugin settings page to save data
- How to get specific setting by settings_fields()?
- Show admin notice on incorrect value on form field
- Can I use register_settings and unregister_setting once the settings page has loaded?
- How to save plugin custom settings page fields
- How to make sure settings are not lost when plugin is updated?
- How to save Setting pages data to the database?
- How to save the option’s new values plus old value without overwrite old one
- 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?
- Option page not updating multiple records in settings api
- Validating values using Settings API?
- move setting data from wordpress api to codestar freamwork
- How to add field for new site-wide option on Network Settings screen?
- Correct way to serialize the data of options table?
- Where can I find a schema of wordpress plugin core architecture?
- Where should I use get_option in a plugin
- Inherit plugin settings to new site in Multisite
- How to tell if plugin has been network activated
- Save and retrieve custom plugin options value
- How to handel multiple checkbox field in the admin settings page with Settings API
- How can I include a setting that has a variable number of values in a settings page using register_setting?
- How to create a Page alias in WordPress
- How to fetch serialized data from wordpress options
- Some Plugin Settings Are Kept After Removal and Reinstall of the Plugin
- Changing widget options via the functions.php when there are no hooks
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- Plugin set default setting value when it activated
- Get all options saved by another plugin
- Is it ok to call get_option without hooks?
- Stop the form of beign submitted on “Save changes” custom option page
- Enable/Disable WP options programmatically
- Add a Custom Permalink option in the Permalink Admin Screen?
- add function to saving change on Options Pages
- clean wp_options table unused rows
- How to set CORS header?
- Prepare plugin options for multi-lingual support
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- Restore a Plugin’s Default Settings
- Wp die causing 500 Internal Server Error?
- Creating a plugin that will add options. Where should the options menu pages go?
- Set the active Navigation Menu from a plugin
- Serialize data for wp options
- Why slash is removed after domain?
- How to add a default value to get_option if it’s used as a variable?
- WordPress get_option and update_option returned entered on the textbox field
- Get plugin option in another PHP file
- Most efficient way to use classes to create admin pages using Settings API
- changes to widget settings not showing up in individual pages pages until they’re updated [closed]
- How to remove traces from widget during uninstallation
- php page not found for plugin options menu
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- options creation for plugins
- Redirect to another page using contact form 7? [closed]
- get_option error plugin development
- WordPress error: Options page Setting_ not found in the allowed options list
- Can deactivating a plugin sometimes “reset” settings within that plugin?
- Allowed memory size exhausted problem
- Plugin getting Cannot modify header information errors
- Saving widget options from class method
- How to prevent plugins from sniffing/stealing other plugins’ options?
- OceanWP settings are missing from Add New Post [closed]
- Plugin scheduled event not working
- Adding option values as an array using a multi selectable select box
- Store plugin page content in wp_options?
- Settings API Message Error is global
- How do you add a settings page to another menu?
- Need to add/remove group of options and display them as rows
- How to get values from network settings panel?
- How to add a custom form to a plugin’s setting page
- update_option creates an option, which empties on a blog reload
- Using call_user_func() within add_settings_section() within a Class
- Save log for imports in WordPress database – options-table, custom post type or other place?
- how to show new field if option selected?
- Changing the CSS with a plugin
- save short-code in my custom plugin settings problem missed something
- How do I render content from a wp_editor in a plugin setting field?
- Settings Fields not showing up in Submenu Page
- Plugin Options Page and Subpage
- Optimized PHP & WordPress settings for speed/performance?
- save multi-select input using update_option for plugin
- Enable plugins that are “not supported”
- Admin Custom Login loses settings on Code and Data migration
- Protect WordPress option value
- Why is the WordPress update_option not working in this code?
- WordPress update plugin through Dashboard/Plugins displaying error
- How to create a new database table whenever user changes options
- get_option returning old value for non-admin users
- Create Array from data in the OPTIONS table
- Error when renaming option
- how to protect wordpress website
- homepage olderposts link showing page not found
- WP e-commerce sales-view
- My first plugin doesn’t save the data in options
- selecting options from another form
- How to access values from your own settings page in javascript?
- wp_options Table keeps growing