Producing array of group user ids
I’m trying to write a shortcode that will produce an array of the user ids that make up a group on my buddypress site.
I’ve spent hours researching, but as I’m not a developer by any stretch I’m still a bit stuck. If anyone able to help?
I’m aware I need to use the bp_group_members() function, but I believe I need to call the correction function file at the start of the shortcode?
I’m also uncertain what I need to write to produce the array. Sorry!
Any help would be much appreciated.
- You must be logged in to reply to this topic.