Skip to main content
Bumped by Community user

I have written a function in functions.phpfunctions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email.

I am starting to work on my first plugin and I want to store the parameters in a new table on the database.

How do I get the parameters from function.phpfunction.php right after the user clicks on the "send"send button of the contact formcontact form?

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email.

I am starting to work on my first plugin and I want to store the parameters in a new table on the database.

How do I get the parameters from function.php right after the user clicks on the "send" button of the contact form?

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email.

I am starting to work on my first plugin and I want to store the parameters in a new table on the database.

How do I get the parameters from function.php right after the user clicks on the send button of the contact form?

Source Link
Kar19
  • 255
  • 1
  • 9
  • 19

How to get variables from fucntion.php to my plugin files

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email.

I am starting to work on my first plugin and I want to store the parameters in a new table on the database.

How do I get the parameters from function.php right after the user clicks on the "send" button of the contact form?