I’m new with WordPress,

I have a plan to create simple plugin for managing master product and product list and detail page,

So far, i successed create menu on wordpress wp admin page with page for input product form with ajax process and success showing success notification.

But what i dont know how to save my post data to database? is it necessary to create new table on database?

What i think is i need new table to save my products information on database, but how to migrate database? is it when plugin activation?

Thanks for help.

Read more here: WordPress Create Plugin With Migration


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: