1
I am studying Wordpress, and to exercise I am developing a theme and a plugin. The goal is to use a contact form in the theme, that instead of sending the data by email, as usually done, make the persistence of this data in the database for later view / manipulation by the site administrator.
My question is how to use my plugin’s input method on submit
of the HTML Form. I saw in the wordpress API a file called admin-post.php, but apparently, it has nothing to do with what I need to do. Someone has an idea of how I could do this?
There is already a plugin that does something similar: Contact Form Database Extension. Maybe it can be guided by what is the proposal of this.
– Fellipe Soares
Study about Wordpress’s Hooks (actions and Filters). With this concept in your head it will be easier to develop in Wordpress.
– Emanuel Rocha Costa