bp_has_groups() Help
-
I’m trying to make a little more sense of the documentation on the Groups loop: http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/
First, in the code it has bp_has_groups() but then the documentation says bp_has_site_groups() Can you use either of them or is that a mistake in the documentation?
Also, could someone give me an example of the way to add a few parameters to the bp_has_site_groups() to filter by say type=random and max=3 and user_id=2 Does it need to have an array passed in or something?
Thanks. Once I learn I’ll update the documentation too.
- The topic ‘bp_has_groups() Help’ is closed to new replies.