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]
- execute function after one completed
- Can i add custom code in Source, Header from function.php?
- WHy custom plugin slows down the loading of the pages?
- Submit Form data to another page via Ajax (WordPress Way)
- How to make multiple admin pages for one plugin?
- How to show the number of website visitors in my theme
- Editing a text file from plugin menu
- Setting Up PHP Workflow in WordPress
- How to execute html code inside php?
- php code crashes site – possible syntax error
- Include a php file from another plugin
- wordpress add_action() issue in ajax call
- Add bcc to contact from on wordpress
- What happens when WordPress memory limit is exceeded?
- Using ‘mysqli_connect’ ‘crashes’ WordPress client-side
- Login problem after installing my written plugin [closed]
- Basic function call on init failing
- Problem with isset and $_POST
- Allowed memory size exhausted problem
- Getting taxonomy images to display on single-post with their terms
- Submitting form in wordpress plugin
- Adding media upload button to User Profile page (following a tutorial)
- Ajax Plugin Not Echoing Response
- iframe not showing in post (with “allow php in posts” plugin activated)
- how can I do something on new user registration?
- JQuery prepend a function
- Why can’t I call a (member) function from within a foreach?
- Plugin that will output submitted form data for user? [closed]
- How to handle forms from sidebar widgets – Processing $_POST variables using get_field_name()
- Get ‘Headers already sent’ error for the plugin I am creating when I try to login
- WordPress Related Plugin – only show when related content
- Allowing users to Sign-up > Login > Post articles that need approval
- how to insert a HTML form into a javascript popup?
- Is there a function to list all uploaded images? How can I add one?
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?
- Are there action hooks for comments?
- Help with WP Business Directory Manager Plugin?
- Pass user role to javascript code inside body
- Adding Plugin Assets to Header