Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,183
-
Thank you shanebp, I tried
<?php $excluded_users = implode(',',get_users('role_in=array('administrator','subscriber','customer')&fields=ID')); ?>
and with double quotes
<?php $excluded_users = implode(',',get_users("role_in=array('administrator','subscriber','customer')&fields=ID")); ?>
but now no members appear in the directories at all. What do you think is the mistake?