Site icon Hip-Hop Website Design and Development

Create a new table on the database and save parameters from a contact form

I have a wordpress function in functions.php which gets parameters from a form I made and gets parameters like IP addresses and UTM tags (from the URL) and sends them to me by email.

I want to get all these parameters I send and store them in a new table on my WP database.

How can I do such thing?

I researched it and found a lot of plugins that can do that for me (Which I really don’t want to use external plugins).
and I still want to keep wordpress security and not use a “flat” code of my own.

How do I plan this? Is this even possible?