[wp-hackers] Custom default settings at install

Frank Bueltge frank at bueltge.de
Tue Jun 9 18:50:25 GMT 2009


or you set the settings via a plugin after the install. On this way it
is easy to save the default settings and it is possible to reset to
this settings.

Best regards
Frank

__
Das Buch: WordPress - Weblogs einrichten und administrieren, Open Source Press
  ISBN 978-3-937514-33-8
  http://wordpress-buch.bueltge.de/das-buch/

http://bueltge.de : frank at bueltge.de
http://wpengineer.com : frank at wpengineer.com
__
Frank Bültge
Tel:    +49 36428 122529
Mobil:  +49 170 5322053
E-Mail: f.bueltge at inpsyde.com

Inpsyde GmbH
Mutzer Heide 3
51467 Bergisch Gladbach

Steuernr: 204/5756/0999 Steueridentnr.: DE263849534
Geschäftsführender Gesellschafter: Heinz Rohé HRB 65224 Amtsgericht Köln

http://inpsyde.com
http://pressthis.de



On Tue, Jun 9, 2009 at 8:26 PM, Peter Westwood<peter.westwood at ftwr.co.uk> wrote:
>
> 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
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list