« Return to Thread: Custom default settings at install

Re: Custom default settings at install

by Bueltge :: Rate this Message:

Reply to Author | View in Thread

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@...
http://wpengineer.com : frank@...
__
Frank Bültge
Tel:    +49 36428 122529
Mobil:  +49 170 5322053
E-Mail: f.bueltge@...

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@...> 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@...
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers

 « Return to Thread: Custom default settings at install