I must set default setting for new author on my wordpress mu, like date/hour format and language...how to do it?
Thanks!
I must set default setting for new author on my wordpress mu, like date/hour format and language...how to do it?
Thanks!
Depends on which specific default setting you;re changing. You may want to try searching the forums for 'default settings' as this has been discussed at some length previously.
Mmm...I've found no one answer! Excuse me if I continue here.
I've tried a little script that I've copied in muplugin, but is not ok. Do you know what's the error? Do you know I can do? In the forum this problem was never solved.
function blogs_format ( $blog_id ) {
add_option('the_date', 'j F Y');
add_option('the_time', 'G:i');
return;
}
add_action('wpmu_new_blog', 'blogs_format');
Please help me =)
I've changed the_time and the_date with time_format and date_format...but it's anyway not ok =(
function change_date_time () {
add_option('date_format', 'j F Y');
add_option('time_format', 'G:i');
}
add_action('populate_options', 'change_date_time');
I love you :D