The action attribute in the form tag redirects you to the options page. But you also need a hidden field with the plugin slug. Normally its a hidden field that looks like this <input type="hidden" value="/wp-admin/options.php?page=[plugin-slug]" name="_wp_http_referer"> where [plugin-slug] is replaced by your plugin slug.
Related Posts:
- Warning: Illegal string offset on theme options page [closed]
- Site Title and Tagline in Theme Options Page
- Editor role cannot save custom theme options
- Site Title and Tagline in Pagelines DMS Options Panel
- Link blogname and blogdescription to the Options Framework
- Illegal string offset in PHP function in via Theme Customizer
- WordPress Setting page can not be saved by html radio
- Options.php loop won’t show!
- How to get WordPress Time Zone setting?
- Should I use spl_autoload_register() in my plugin?
- Limit the number of inactive widgets
- WP-CLI – Selecting PHP version
- When to use Exceptions vs Error Objects vs just plain false/null
- Hide php Notices in Dashboard
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- WordPress “Link has expired” error on updating posts
- reason of splitting theme files to multiple files
- wp_customize_image_control default value
- WordPress customizer: load controls in a custom div
- Enqueue Javascript Correctly for 3.5
- Notice: Constant already defined in wp-config.php on (non-existent) line?
- Fatal error: Call to undefined function wpsc_cart_item_count()
- Error when requesting password reset email – wp authentication
- After upgrading to PHP 7.0 my contact form outputs error
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Store and Work with huge array in WP [closed]
- Putting PHP variables into javascript [duplicate]
- Set WordPress Default Template
- How to find error in my code when the error message is pointing to WP core file?
- Theme Options Page – User Updates Logo
- PHP Warning: Attempt to read property “term_id” on bool
- WP Post-Thumbnail
- Mute Debug Messages from Plugins
- A non-numeric value encountered in /wp-includes/functions.php on line 68
- Whitelisting items from custom options page
- Error on wp_default_style After upgrade to php 7
- Options API get_option() and update_option() Not Correctly Updating or Returning
- Setting default category base on theme activation
- Getting error when using wp_insert_post()
- How to store options in an array
- how to update and display an option without reloading the page
- Which is the correct way to conditionally enqueue a CSS file?
- Security for data obtained from the database
- “Undefined index” error when saving empty array with checkboxes
- WordPress Options Page Theory Question
- Pull GetOption() variable into jQuery dynamically created html
- Filtering a Database Query
- Is a series of update_option calls safe, performance wise?
- customize wordpress database error page
- retain querystring values when savincustom options in admin
- How to Change CSS Colors from Custom Plugin Settings Page
- Decimal values via get_option() with custom local (decimal point = comma)
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- How to show every second user different types of banners?
- Array to string conversion error in PHP 7.2 when returning user role as class
- Undefined index for default custom theme option
- PHP E_WARNING being shown despite php.ini [closed]
- Deactivate a plugin on wp version
- Get value from db for custom contact form
- Page Options Saving But Not Updating In Backend
- Using theme options to change a border-radius value
- Help with accessing wp-admin page and resolving error messages
- Blog suddenly shows Archive instead of index page
- Programmatically revert to backup .htaccess a possibility?
- Prevent post from being published and show error
- Add a custom WooCommerce settings tab with sections
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- I am having errors with checkout on wordpress
- Intermittent 503 Service Unavailable Error
- How to make a pagination with dropdown selection?
- No more get_option(‘date_time’) in WordPress 5.5?
- Trying to get property ‘ID’ and ‘post_author’ of non-object error
- HELP: cannot log into wordpress. PHP error
- Change CSS Variable value in Theme Customizer Live Preview
- Site title not showing. Please help me
- PHP Error in WordPress Theme
- WordPress database error only while loading page for 1st time
- This occurs when I open admin or front on localhost
- Echo Option Value Based On WordPress User Role
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- wp_customize_image_control default value
- Save Option on Database
- Troubleshooting “loopback requests that take too long”
- Query Concatenation
- Select area and checkbox data is not saving?
- What does that mean: cannot use a scalar value as an array [closed]
- problem with php function error
- Integrating CSS Into a WP Function Call [closed]
- WordPress White Screen Error
- Please help! Parse error: syntax error, unexpected ‘
- PHP warning $post->ID is null
- Dynamic Email Handler with ‘header (“Location: …’
- save array of objects with update_option
- Getting invalid user ID error when creating a new user with wp_insert_user
- Use of undefined constant issue
- Error when loading Dashboard
- taxonomy pages returning “NULL” when running default WordPress function ‘get_queried_object()’
- PHP Warning: Undefined array key “HTTP_REFERER”
- PHP Warning: Undefined array key “VirtualHostSubMenu” in index.php
- Warning: Undefined variable $post_id