2013-04-02, 09:48 PM
Is it possible to setup a plugin with settings like this:
...and then if the admin changes "Number of fruit" to 5, additional settings for Fruit #4 and Fruit #5 could be set?
In other words - the plugin author may not know ahead of time how many settings would be needed.
Reading the plugin docs on settings, it seems like it expects the plugin author to know ahead of time what all possible settings are.
- Number of fruit: 3
- Fruit #1 - type orange, state fresh
- Fruit #2 - type banana, state moldy
- Fruit #3 - type apple, state fresh
...and then if the admin changes "Number of fruit" to 5, additional settings for Fruit #4 and Fruit #5 could be set?
In other words - the plugin author may not know ahead of time how many settings would be needed.
Reading the plugin docs on settings, it seems like it expects the plugin author to know ahead of time what all possible settings are.