Hi, I’m working on an option for my plugin which allows a user to import/export the settings from the plugin.
All settings are stored in the
wp-optionstable; and they are all prefixed with a unique set of characters.
I’m not very savvy with the database interface, but I have seen other plugins perform similar functions.
1. Is it possible to isolate my plugin options stored in this table; since they are all prefixed with
2. Can I echo these values to a text box, or write to an xml (or similar) file, which can then be used to import the settings?
3. Could someone suggest the best place to start?
I know I’ll have to create a form to assist with the import/export. But what is the best way to pull the values? Is
get_optionmy only option?
Any other information will be most appreciated.
- The topic ‘Database 'wp-options' table’ is closed to new replies.