I don’t fully understand your question and don’t support the groups plugin. NMR merely shows any properly registered WordPress roles, which are found in the $wp_roles
global. NMR runs the names through a filter so you can add “pseudo” roles (aka roles from group plugins that don’t register their roles the WordPress way) if required.
This is from NMR:
global $wp_roles;
$display_roles = apply_filters( 'nav_menu_roles', $wp_roles->role_names, $item );
$display_roles
is then an array of roles.
helgatheviking,
My question is exactly same the one mention in the link provided.
https://wordpress.org/support/topic/getting-roles-from-groups-groups-plugin
I would like to pick the user groups after selected “Logged In Users” in NMR. According to the link it is managed to do so, but I have no idea how to achieve it.
You would add the block of code provided by @philzo in your theme’s functions.php
or preferably in a new plugin. I can’t guarantee it will work as I don’t know anything about the Groups plugin. I always recommend Members by Justin Tadlock.