WordPress forms submissions and PHP files
Have you try with admin-post.php for your form submission. admin_post hook available in WordPress gives you great control over the flow of execution for your form. Using the above form, the following HTML content would execute the above hook when the user clicks either Submit. <form action=”http://www.example.com/wp-admin/admin-post.php” method=”post”> <input type=”hidden” name=”action” value=”custom_form”> <input type=”hidden” name=”data” … Read more