[Plugin: Edit Flow] retrieve usergroup
-
Hi,
I try to retrieve edit_flow specific group from an user in functions.php of my theme.
global $current_user, $edit_flow; $usergroup = $edit_flow->user_groups->get_usergroups_for_user($current_user->ID);
Doesn’t work.
in get_usergroups_for_user function from module/user-groups.php
This var : $all_usergroups is empty.What is wrong please ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Edit Flow] retrieve usergroup’ is closed to new replies.