WordPress.org

Support

Support » Plugins and Hacks » New Blog Defaults » [Plugin: New Blog Defaults] add user with default role / no overide

[Plugin: New Blog Defaults] add user with default role / no overide

  • Just to say I added the “if” condition at line 172

    if (!is_blog_user($options[‘add_user_to_blog_id’]) ) {
    add_user_to_blog($options[‘add_user_to_blog_id’],
    user_id, $options[‘add_user_to_blog_role’] );
    }
    and the same at line 190.
    to avoid role to be overide in case user has higher role level

    http://wordpress.org/extend/plugins/wpmu-new-blog-defaults/

  • The topic ‘[Plugin: New Blog Defaults] add user with default role / no overide’ is closed to new replies.
Skip to toolbar