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 update and display an option without reloading the page
- Headers already sent in Pluggable.php / homepage and wp-login error
- WordPress theme options error
- Saving plugin settings – ERROR: options page not found
- 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?
- wp-options keep crashing please help
- WP_OPTIONS table, active_plugins entry [closed]
- Preg_Match(): compilation failed unknown property name
- Changing the color scheme based on the url visited
- Why is an array created in a function hooked to customize register populated when customizer is loaded but not when the front-end is loaded?
- customize wordpress database error page
- retain querystring values when savincustom options in admin
- PHP if statement works in template files, but not header
- How to add drag and drop functionalities to a div inside option panel
- How to Change CSS Colors from Custom Plugin Settings Page
- Errors after upgrading PHP to 7.4 WordPress
- PHP-warning in post-template.php and no loading content on pages
- 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
- Parse error: syntax error, unexpected ‘}’ [closed]
- 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
- javascript variable to wordpress php variable
- PHP E_WARNING being shown despite php.ini [closed]
- What’s wrong with this piece of code? [closed]
- WordPress language switcher doesn’t work
- can’t get errors
- Angular not defined [closed]
- Cannot load media and I get “PHP Warning: Invalid argument supplied for foreach(“
- How to send logs to plugin owner for a plugin?
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- global $post inside plugin query messes up every new post page in wp-admin
- Use get_option with $emailTo on contact page
- Headers Already Sent
- Functions are causing errors
- wp_customize_image_control default value
- Too few arguments for printf() [closed]
- syntax error unexpected ‘}’ at 364 line
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- WordPress won’t display errors at all
- Not able to call class in NHP framework
- Category List in Theme Options Page
- Save Option on Database
- How to change a specific character in a theme option value – replace a space with a plus sign
- Troubleshooting “loopback requests that take too long”
- Data inserted in database, but ajax calls error function
- Setting field not saving on front-end
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- Query Concatenation
- WP Debug enabled Undefined index error in a widget
- php 7.0 update to 7.1 and at least 7.2
- 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]
- How to handle PHP parse errors?
- PHP warning Invalid argument supplied for foreach() on custom page template
- WordPress White Screen Error
- Please help! Parse error: syntax error, unexpected ‘
- Not able to see the error [closed]
- Echo get_option displays as text
- Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
- kali php problem [closed]
- PHP warning: Undefined array key 2 in feed.php
- 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
- Execute multiple PHP Snippets causes error?
- Use of undefined constant issue
- WordPress 6.1.1 shows deprecated errors with PHP 8.1 & 8.2
- I can’t log into my website , it says “Error: Cookies are blocked due to unexpected output”
- Error when loading Dashboard
- WordPress @include( ‘template-config.php’ );
- “Unexpected response from server” error when trying to upload any .mp4 file over 100MB
- taxonomy pages returning “NULL” when running default WordPress function ‘get_queried_object()’
- WordPress Customizer – How to save list of checkbox of pages?
- WordPress Customizer add_control Dropdown of Pages with Multi Select?
- Undefined constant ABSPATH
- PHP Warning: Undefined array key “HTTP_REFERER”
- PHP Warning: Undefined array key “VirtualHostSubMenu” in index.php
- Headers already sent error
- Warning: Undefined variable $post_id
- Facing 503 error on PHP files after deleting hidden files from the root folder