Add a new URL using add_submenu_page
(without any parent assigned) and post your form data on that URL. Refer to this page for adding sub-menu page.
Also, you should not send form data on any PHP file like this. This, will opens up your plugin for external attacks.
Let, know if you unable to figure out the way of doint this.
Have a Good Day!
Related Posts:
- How to trigger $_GET request within admin plugin page?
- How to insert HTML/JavaScript form into WordPress page? [closed]
- File Uploader – Upload without adding to Media Library
- How can I make my custom shortcode work in a Custom HTML Widget?
- Simple form that saves to database
- Multi step form, custom plugin
- shortcode doesn’t work
- How can I ‘reactivate’ .PHP files within a WP plugin that have been marked ‘inactive’?
- Dashboard Widget Form
- How can I get WordPress to save comments in markdown format?
- Error shown for Trying to get property ‘roles’ of non-object in WordPress After Content for User Roles
- Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?
- Custom form action to handle data inside a plugin
- Using a custom plugin to capture input data via Ajax and PHP
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- WordPress WPforms customization
- Adapt PHP form action for WordPress?
- Take input from form and pass it to function using a wp-plugin
- WP Plugins – Use includes to display page content
- How to include this jQuery File in wordpress?
- How to Loop Through all Posts and Count Attachments using Get Media Attachments
- How can i force wp-admin to use 2-column dashboard layout? [closed]
- How can I exclude a dynamic URL to show a popup created using ‘WordPress Popup’ plugin
- Any idea how to get something like this to work? [closed]
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- Is there a way to convert shortcodes to html content?
- the_content() printing DOCTYPE, and tags in the middle of page
- Wierd site output [closed]
- How to redirect to a page after the form is submitted
- Echo out element to another page.
- Code for unique user visit count on every page WordPress
- Submitting form to PHP
- How to translate to spanish wordpress hardcoded content/files?
- How to change a wordress plugin php code in my child’s functions.php file?
- make p tag collapsed after 3 rows
- General Term for this form Field
- How To Toggle User_Meta in frontend in a form using PHP
- Get and Update Most Meta Value as an array in HTML form
- Can’t access 3rd party API, code works on local server but not on wordpress
- How to echo a PHP Code After the Content
- Ajax call to php function doesn’t work PHP code
- submit form data to wordpress existing database table using my plugin
- get/show Last ID
- How to remove a css class for any wordpress page
- How to hide the form after successful php execution
- Form tries to download a file on submit
- Adding link on title its in description but not in title see screenshots attached
- I created a custom form in HTML/CSS and now I need it to submit … should I create custom PHP or is there a plugin I can use?
- Saving custom form fields
- How do I convince this button to do something when it is clicked?
- Undefined variable _POST
- How to prevent page load on form submission
- wordpress illegal string offset ‘parameter’ error
- how to show selected options drop down menu values in attributes field in after saving post.php
- Need help with wordpress audio preload
- Form with response button after on table after submission
- Option value not getting updated until page refresh in WordPress
- Limit entry to a WordPress page
- How to create a “Most Popular” & “Latest” TAB in WordPress
- How to fix template and image buffering issues on website [closed]
- How to create different woocommerce single_product.php pages for each product? [closed]
- How can I use WordPress functions in my stylesheet?
- WP-Members redirect if member ALREADY logged in
- How to edit/delete single row items in a table on my own menu page
- Get a list of galleries from an album in NextGEN Gallery [closed]
- Undefined property: WP_Post_Type::$ID
- Plugin exceeds memory limit
- Wp favorite posts get user favorites in profile using buddypress [closed]
- Preferred way of cacheing a value in php
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- My form action url is being prepended with a directory that does not exists
- Automatically add attributes to woocommerce product?
- Adding a slider captcha to the comment system
- How to put JQuery/Ajax inside shortcode?
- wp_remote_get() returns 403 while file_get_contents() does not
- WordPress Widget Not Saving Data
- Allowed memory size exhausted problem
- Submitting form in wordpress plugin
- Plugin onclick button activate other plugin
- Show icons or badges under title on product archives/category pages
- Readable titles in mobile
- adding Adsense’s In-Article Ads between images of blog post
- Add logo to admin menu in my plugin
- Get data from wp_posts of mysql in to variables of wordpress-php script
- WordPress plugin won’t create custom tables
- Trying to get property of non-object wordpress error message
- Displaying URL Based on User Input from a Form W/in a Dashboard Widget
- Advertising: Every page refresh counts as 3 ad impressions
- WordPress Cache delete on plugin uninstall
- Display Author name PHP (Selfmade Plug-IN)
- WordPress hide post from custom post-type on a single page
- Change Woo Custom Endpoint Titles from a Plugin
- How can I store user preferences in WordPress and retreive them later?
- Plugin debugging with errors in activation routine
- Number format in thousands on highcharts in wpdatatable plugin
- W3 Total Cache Can’t Really Detect Things
- How do I add php to all links automatically?
- How to get URL param for pagination in shortcode?
- Make plugin admin page visible to other roles
- How Create LastMod and Update Date Only on Taxonomy Category and Tags