Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how should i process form data with the skeleton plugin for an edit screen


shaisimchi
Participant

@shaisimchi

Hi,

With the skeleton plugin what I did was create the DB access stuff (the basic create, some inserts etc) in the classes file.

then most of my functions are in the templatetags file (some also access/insert/update the db).

the form is in the main plugin php file (resides under wp-content/plugins) and it calls all the necessary files.

when you post the data in the form and then call a specific function to do the processing you can access the form variables using $_POST (that is in case you use post in your form).

If you need more help or having specific questions let me know. I am not a big expert but I got several plugins created using the skeleton and if its working…dont touch it :-)

Shai

Skip to toolbar