[wp-hackers] Custom default settings at install
Peter Westwood
peter.westwood at ftwr.co.uk
Tue Jun 9 18:26:05 GMT 2009
On 9 Jun 2009, at 19:20, Karl Wångstedt wrote:
> Hi all
>
> I wonder if there is an easy way to change the default settings WP
> inserts into the DB at install?
>
> Can I perhaps hook into the install process at some point with an
> array of settings from some custom script?
>
Place a file called install.php in WP_CONTENT_DIR
Define a function called wp_install_defaults() in that file.
Add whatever defaults you want
westi
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-hackers
mailing list