Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*disable blog signup for non logged in member*/
- add_filter("wpmu_active_signup","bpdev_check_current_users_blog");
- function bpdev_check_current_users_blog($active_signup){
- global $current_user;
- if( !is_user_logged_in() )
- return "none";
- else
- return $active_signup;//if the user is logged in, do not change the site policieseesaws
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement