[wp-hackers] How do you store multiple plugin options

Mike Schinkel mikeschinkel at newclarity.net
Wed Mar 24 00:48:49 UTC 2010

On Mar 23, 2010, at 7:58 PM, Stephen Rider wrote:
> On Mar 23, 2010, at 6:47 PM, Mike Schinkel wrote:
>> Also, similarly, it sure would be nice if there was a standard way for plugins to on-demand persist their option state to code so that people who develop and deliver a site can include said code to reinitializes all plugins from a default install. It would make deploying developed WordPress solutions easier and would make reinitializing WordPress solutions during development much easier.  Thoughts on this?
> Recommended reading:
> <http://wpbits.wordpress.com/2007/08/10/automating-wordpress-customizations-the-installphp-way/>
> custom install.php == awesomeness

Great link, thanks!  Now the next step would be to automate the automation with a hook for plugins called something like 'make_install.php' that could contribute code to an install.php itself based on its current state.  I'm envisioning an admin page where I could copy the generated install.php and past into a file, not something that would automatically overwrite the existing one.


More information about the wp-hackers mailing list