Hi and thanks for your replay!
Im not very good at codes… But you mean that i can add:
$groups_user = new Groups_User( get_current_user_id() );
// get group objects
$user_groups = $groups_user->groups;
// get group ids (user is direct member)
$user_group_ids = $groups_user->group_ids;
// get group ids (user is direct member or by group inheritance)
$user_group_ids_deep = $groups_user->group_ids_deep;
but to where?
Is it a easier way to get the information about the customer? Like add some shortcode that will display the group belongin in the order confirmation email?
Thank you!