Just wondering: what would be the best way to have a More Privacy Options setting (Members only) be assigned upon blog creation?
Just wondering: what would be the best way to have a More Privacy Options setting (Members only) be assigned upon blog creation?
add_action( 'wpmu_new_blog', 'ds_new_blog_options', 10, 2);
function ds_new_blog_options($blog_id, $user_id) {
update_blog_option( $blog_id, "blog_public", '-2');
}
Holy...
Thanks so much! I expected a tip to point me in the right direction, but you just went ahead and spit out code!
You're awesome brother. Have a great rest of the weekend!
Have you tried your plugin dsader on WPMU 2.7? Does it work without issues?
Trent
I'm not sure dsader can type anything BUT code. :)
<?php if('props' FROM 'Andrea_r') {
return $thanks;
}
?>
Trent, just tried again with a TRUNK WPMU2.7 and privacy plugin looks the same to me.
LOL! Dsader's code post FTW!
I'm running it on 2.7 beta, and it's 100% operational!