Have you tried…
<input type="text" name="my_options[option1]" value="<?php echo $options['option1']; ?>" />
<input type="text" name="my_options[option2]" value="<?php echo $options['option2']; ?>" />
<input type="text" name="my_options[option3]" value="<?php echo $options['option3']; ?>" />?
I should say though (and maybe you have), that you should register your settings and perform necessary validation checks on the input – or if you really don’t want to use the Settings API, disregard it completely and ‘manually’ collect the form data, check the data, check nonces etc and add to the database.
Related Posts:
- Settings API – save an array of options as one setting (array_push?)
- How do I retrieve multiple values from a multidimensional array in wp_options?
- Are transients garbage collected?
- Are all options loaded to memory on each request?
- How does object caching work?
- How to pass arguments from add_settings_field() to the callback function?
- How to use checkbox and radio button in options page?
- how to update serialized options programatically?
- How to pass variable to add_settings_section() callback?
- Performance with autoload and the options table
- What’s the difference between Options & Settings?
- Using widget options ‘outside’ the widget
- How to load WordPress on non WP page?
- How to store widget fields data as an array?
- Options for CDN with WordPress Including Supporting Plugins?
- Option to set static front page disappeared from admin reading settings
- How to set up default values for a plugin?
- Difference between Option_Group and Option_Name in Register_Settings
- Add on the fly tabs to plugin options
- Why does WordPress use serialize rather than json_encode for the options table? [duplicate]
- Plugin options will not save in database
- No option to allow search engines to index my site in WP 4.3
- How to update an ‘array’ option using wp-cli [duplicate]
- Plugin options autoloading
- How to Create a Custom WordPress Install Package?
- Settings API – creating reusable form elements?
- Settings API – changing add_settings_field() output?
- Confirmation before deleting plugin options via uninstall.php
- Efficient way of saving plugin options
- Set WordPress settings programmatically
- Fallback when Transient API fails
- Submenu pages delete settings from options array when saved
- get_option function
- get_option() from another wordpress site
- How can I get all user options?
- register_setting() vs add_option()
- Where to hook register_settings for Settings API when also want to update options outside of Settings API?
- Add_settings_field() parameterizing callback?
- How much string content can I store in an option?
- Set a Default Value for an Option?
- Setting ‘autoload’ to ‘no’ with Settings API
- Why isn’t get_option array contents displaying?
- How to Save Different Settings Options Using Settings API and/or the Theme Optimizer
- Define WordPress image size in img tag
- Updating wp_options with an array on save_post results in duplicated entries
- Serialized settings in rest api
- Save Theme Options (options.php) From The Frontend
- Editor role not saving settings page for custom post type
- get_option() is not working even db contains the corresponding option_name and option_value
- Can’t output do_settings_sections . Can’t understand why
- How to fetch serialized data from wordpress options
- checkbox with get_option not working
- Settings API – how to update multiple options manually?
- Multiple entries in get_option results? or why is _multiwidget set to 1?
- Single callback with multiple setting fields
- Proper use of option_page_capability_{$page_name}
- Settings API – how to update options manually?
- How to change the file upload directory on version 3.5?
- Which WordPress option stores the current active theme?
- update_option method with support of utf8
- Any way to partition wp_options?
- How do I add a value to a wp_options option that is an array?
- how can I detect that option value has changed?
- Can I use a space in an option name/key?
- update_option not working in stand-alone PHP script
- How to verify this checkbox is checked?
- array_map() for sanitizing $_POST
- How to display some settings for super admin user only using Settings API
- Best practice differences in DB options and wp-config between live, staging and local WordPress environments?
- Logout redirects to a broken page(home URL is omitted)
- What to use , set_transient, set_option or file system? [closed]
- Is there a limit to the number of options you can store in one settings field of wp_options?
- wp_user_roles and Advanced Manipulation
- Settings API get_option best practices
- Custom theme options Radio inputs not saving
- How do I output a database option that is an array into a get_posts array?
- Deploy pre-configured database
- Character Encoding for wp_options
- Access general settings trough wordpress files
- get_option & update_option for multiple input fields with same name
- Settings API: Change position of custom setting field
- Tab from Settings API resetting all options with INSERT INTO [closed]
- Clone plugins (and settings) to new installation?
- Getting settings saved two times in settings page with tab
- Can’t save options
- display all posts in wordpress admin crashing after 999 screen option
- How to cache posts based on $_GET? Option name is too long? Options / transients
- Allow spiders to crawl my site (selectable option in wp)
- Putting my site live
- Working with an Array inside Your Theme Options Array – Multiple Values
- Where is the submitted $_POST array stored after an option page submission?
- update a value in wp_options [closed]
- get_option array value defaults and best practices
- Insufficient permissions to save options
- Can we allow users to choose front page from theme options?
- How to display usermeta on front end of site
- Add an option to a Child theme of Twenty Eleven
- WordPress Plugin Dev: Using array for WP options
- save_post_{CPT} not updating the ‘sticky_posts’ option
- The Settings API – What is the purpose of default value in register_setting?