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!
- Should I use spl_autoload_register() in my plugin?
- WP-CLI – Selecting PHP version
- error_log() output for print_r() appearing on page
- Hide php Notices in Dashboard
- Custom plugin: Trying to show saved data on frontend
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- WSOD but WP_DEBUG not giving any errors
- How to export/import theme customizer settings?
- Remove/unset options field from backend Settings->General?
- wp_customize_image_control default value
- get_the_content if it contains multiple lines it results in SyntaxError
- How to resolve error “Cookies are blocked due to unexpected output.”?
- Enable errors PHP WordPress 5.2
- Fatal error: Call to undefined function wpsc_cart_item_count()
- How to override .htaccess with new rules without ftp or edit it manual
- Why when I instantiate wp_error in a validation method my user registration method stops working?
- How can one utilize a variable as a callback function name for add_settings_field
- Implement a multi-value input field where the number of entries is not limited
- After upgrading to PHP 7.0 my contact form outputs error
- How do I output a database option that is an array into a get_posts array?
- Delete option value from array using update_option()
- Does WordPress have a built in reference to the PHP version its running under? [closed]
- How to get bool with `get_option()` when already registered setting with type `boolean`
- Ajax return code 400
- Displaying theme options in css
- max_input_vars: how many am I using?
- Putting PHP variables into javascript [duplicate]
- Adding Default Settings to Theme My Login plugin
- How to add values to media “whitelist_options” in wp-admin/options.php template?
- Customizer – Prefix Class Extension
- How to find error in my code when the error message is pointing to WP core file?
- Theme Options Page – User Updates Logo
- get_term_link() returns correct – But illogical error-messages disturb
- PHP Warning: Attempt to read property “term_id” on bool
- Mute Debug Messages from Plugins
- Whitelisting items from custom options page
- 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
- WP_OPTIONS table, active_plugins entry [closed]
- Preg_Match(): compilation failed unknown property name
- customize wordpress database error page
- How to Change CSS Colors from Custom Plugin Settings Page
- Decimal values via get_option() with custom local (decimal point = comma)
- How to end a while loop when used in a fetch assoc function [closed]
- 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?
- Undefined index for default custom theme option
- javascript variable to wordpress php variable
- Angular not defined [closed]
- Php file that doesn’t recognize wordpress functions
- Deactivate a plugin on wp version
- Get value from db for custom contact form
- Page Options Saving But Not Updating In Backend
- Help with accessing wp-admin page and resolving error messages
- Blog suddenly shows Archive instead of index page
- Set all WooCommerce Products to Simple, Virtual & Downloadable
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- Fatal error login WordPress [duplicate]
- I am having errors with checkout on wordpress
- Intermittent 503 Service Unavailable Error
- How to make a pagination with dropdown selection?
- Change CSS Variable value in Theme Customizer Live Preview
- WordPress files break if I edit them, but adding a closing PHP tag fixes it
- PHP Error in WordPress Theme
- Is there a way to search for a missing endif?
- style.min.css code issue
- PHP is_embed error showing up
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- Headers Already Sent
- wp_customize_image_control default value
- Too few arguments for printf() [closed]
- syntax error unexpected ‘}’ at 364 line
- Category List in Theme Options Page
- Data inserted in database, but ajax calls error function
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- 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]
- PHP warning Invalid argument supplied for foreach() on custom page template
- Not able to see the error [closed]
- PHP warning $post->ID is null
- Dynamic Email Handler with ‘header (“Location: …’
- save array of objects with update_option
- Execute multiple PHP Snippets causes error?
- Use of undefined constant issue
- WordPress 6.1.1 shows deprecated errors with PHP 8.1 & 8.2