• It would be really helpful if in the account type list no role for site was added and it could be made a default possible option. The no role option has no dashboard showing of course. The no role is essential to me and I have to assign it later and change to it from Subscriber. Used when password protect pages are on the site, and a login required, and I have many on a club website for members info access.

Viewing 1 replies (of 1 total)
  • /* add No Role user role */
    add_role( 'no_role', __( 'No Role' ), array( 'read' => false ) );
    update_option('default_role','no_role');

    That will make a No Role user level and when logged in they can only see Dashboard and Profile links.

    The update option line will make that the default user role.

Viewing 1 replies (of 1 total)
  • The topic ‘No role for site as a default option and on the list’ is closed to new replies.