hi i hope you can help me im tryng to get via code the group informations i have been tryng varius things with the bbpress documnetation but it comes always 0 groups
even with the https://codex.buddypress.org/developer/loops-reference/the-groups-loop/
were it says
If you want to show all groups, regardless of whether the the logged-in or displayed member belongs to them, use this:
bp_has_groups( ‘user_id=NULL’ )
but i get always 0 is there a different call that i have to do since sweetdate has a custumized buddypress ?
or am i dum and im getting somthing wrong ?
i need an array with all the buddypress groups exist in my db i tried even : ($vgroups = $groups = BP_Groups_Group::get(array(
‘type’=>’alphabetical’,
‘per_page’=>999
));
print_r($vgroups);`) in reference of https://buddypress.org/support/topic/getting-array-of-all-groups/
but nothing ive tried many more solution but comes back always 0
can you please help me out im going crazy how do i do it ?
thx a lot in advance and please help 😀