Your options are saved under a single key my_option_name, so you would access the individual options like:
$my_options = get_option( 'my_option_name' );
echo $my_options['title'];
echo $my_options['id_number'];
Related Posts:
- Multiple checkbox doesn’t work in wordpress settings api
- How to pass arguments from add_settings_field() to the callback function?
- How to pass variable to add_settings_section() callback?
- Difference between Option_Group and Option_Name in Register_Settings
- Settings API – creating reusable form elements?
- Settings API – changing add_settings_field() output?
- register_setting() vs add_option()
- Settings API – save an array of options as one setting (array_push?)
- Setting ‘autoload’ to ‘no’ with Settings API
- How to Save Different Settings Options Using Settings API and/or the Theme Optimizer
- Serialized settings in rest api
- Can’t output do_settings_sections . Can’t understand why
- Settings API – how to update multiple options manually?
- Single callback with multiple setting fields
- Settings API – how to update options manually?
- how can I detect that option value has changed?
- How to display some settings for super admin user only using Settings API
- Performance of several get_option() calls
- Settings API – input always updates over validation
- Is there a limit to the number of options you can store in one settings field of wp_options?
- Settings API get_option best practices
- Custom theme options Radio inputs not saving
- Settings API: Change position of custom setting field
- Tab from Settings API resetting all options with INSERT INTO [closed]
- Getting settings saved two times in settings page with tab
- get_option array value defaults and best practices
- WordPress setting with select – where is my mistake?
- The Settings API – What is the purpose of default value in register_setting?
- settings_fields doesn’t appear to be running
- Settings API – Separating PHP and HTML
- Two settings_fields in one form
- Settings API validation callback
- How to save custom settings api fields with custom section fuction
- Add description to custom plugin setting
- Settings API and ‘type’ => ‘font’
- ‘delete_option()’ only deleting the value, not the key/value pair
- How to add a Reset to Defaults button with Settings API?
- Save Plugin Options as Array
- Retrieve my custom settings in the settings/ API endpoint
- Is it possible to have a global parameter page which allows to configure other plugins in the same place?
- Is there a standard technique or API for getting the site header image?
- Help to create the best plugin settings!
- How to save Checkbox-Options in Plugin Options Page
- Problem with checkbox in Settings API
- Options saved and called in wrong order
- User specific settings, limited by role
- Access saved Options / Settings
- Dynamically Update Key in Associative Array When Saving Settings
- Incorporating the Settings API in WordPress Themes – by Chip Bennet
- How to add options for Pages?
- options validator input is false?
- Best place to store company address
- Where to adjust presets for slider options “auto rotate” (3, 5, 10, 15 seconds)? [closed]
- change backend header options
- Ignore “empty” fields when saving
- What is the real purpose of the parameter $option_group in the function register_setting()?
- Performance with autoload and the options table
- Where to store plugin settings fields
- Add on the fly tabs to plugin options
- What’s the best method for emptying an option created with the Settings API?
- Settings API – easiest way of validating checkboxes?
- add static page to reading settings for custom post type
- Add_settings_field() parameterizing callback?
- Set a Default Value for an Option?
- How to change the file upload directory on version 3.5?
- Is it ok to call get_option without hooks?
- Can I use the different settings sections over different pages using the save options group?
- get_option & update_option for multiple input fields with same name
- Can we allow users to choose front page from theme options?
- How to display usermeta on front end of site
- save_post_{CPT} not updating the ‘sticky_posts’ option
- Is there a capability for managing plugin options?
- How to create a drop down list with pages to a themes options page?
- Classes and functions involved in serialization and unserialization
- why is unregister_setting() undefined?
- Settings API not saving values to database
- Set $options reference
- Warn user that data may be lost for custom pages
- Google fonts dropdown in Options Framework
- Displaying the full text instead of post title
- Updating just one option with update_option
- Upload file on pre_update_option_{option_name}
- Update WP option by plugin
- Theme settings Page: Settings Api vs Update_Options
- WP Options Query “Rewrite Rules” Taking 10 Seconds After Testing wp_insert_post( )
- Problem saving wordpress settings with current version. Is it a bug?
- Autopopulate a value
- What is the XSSAttack option_name for in the options table?
- how to show new field if option selected?
- WordPress Settings API Overrides My Previous Value
- Is saving data to WordPress options as array bad thing to do?
- Some entries delete_option doesn’t work
- add_settings_error on validating plugin options API
- Hold a comment in the queue if it contains [X] or more links
- Option page not updating multiple records in settings api
- How do I create settings only used by my theme? [closed]
- Trying to change settings -> firefox downloads options.php instead
- Validating values using Settings API?
- Options don’t save, validation callback not executed
- Fatal error: Call to undefined function get_option()