Hello!
I'm a long time coder but brand new to word press development (trying my hand at my first plugin) and need some guidance from the veterans here...
I want to develop a simple admin panel plugin to track seminar registrations through the ecommerce system (woocommerce, but we'll jump off that integration bridge later.)
Basically, you setup a class, and then have students that register for the class; it has three simple tables: classes [type, date, location], students [name, email, phone], and registrations [student, class].
It looks like WP is built around the concept of posts, and I'm not sure if I should try to do this all with post metadata, or with custom SQL.
In particular, I'm unclear on how to process submitted data from forms. I see how it works for the options page, but what about for general forms? From what I've read it seems like custom SQL will be a better fit, but I can't figure out how to get the post data.
For example, I just want to create something really simple like "create new seminar" form with fields for type, date, and location; when the user clicks SUBMIT, I want to be able to parse the fields and create a new entry in the seminars table. However, I'm not sure what to put for action, and guessing has not proved successful.
Could someone point me towards some sample code on how to do this?
thanks so much!
-Brent