tompacc
Member
Posted 7 months ago #
Hy,
I have restricted each post to one or more users, works perfekt! now I would like to output every user from the user group subscriber of each post in the loop. Is that possible? I tried to dig into the role scoper code but can not find what I need.
thanks for the help!!
http://wordpress.org/extend/plugins/role-scoper/
now I would like to output every user from the user group subscriber of each post in the loop
I'm not sure if you are referring to a custom-defined role group or a WP role. These could be helpful:
$users = ScoperAdminLib::get_group_members( $group_id );
global $scoper;
$users = $scoper->users_who_can( 'read', COLS_ALL_RS, 'post', $post_id );