How to direct submit from a form to the method of a Wordpress plugin?

1

I'm studying Wordpress, and for exercising I'm developing a theme and a plugin. The purpose is to use a contact form in the theme, which instead of sending the data by email, as is usually done, persistence of this data in the database for later viewing / manipulation by the site administrator.

My question is how to use the data insertion method of my plugin in submit of the HTML Form. I saw in the wordpress API a file called admin-post.php , but it seems, has nothing to do with what I need to do. Does anyone have an idea how I could do this?

    
asked by anonymous 21.12.2015 / 17:25

0 answers