Need to add/remove group of options and display them as rows
-
02-11-2019 - |
Question
I am creating a plugin which has 5 textbox for options. What I need to do is to treat these 5 options as 1 item, and being able to add more items.
I've always worked with static hardcoded options for my wordpress plugins, so I am not sure how to do this, but I will try to do my best to explain myself.
I want to have a table similar to the posts table, then I want to be able to add/remove rows. Each row will be one "item" containing the 5 options.
Does someone knows a plugin that works similar to this so I can check it out? (if it also uses ajax that would be awesome)
My main problem is I am not sure how to save/retrieve the multiple rows because I always hardcoded my option names on the code.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange