@sdwebdesignffm
3 years, 4 months ago
Thank you very much! That fixed the issue.
It only fetches few members, but from user dashboard we can see we have a lot more members of type ‘company’, can you please help us why only few (5 members) are being pulled?
Hi, Thank you very much for the help, but I have seen and apply the same function but it is only fetches few members, here is the code:
$q = new BP_User_Query(array(‘member_type__in’ => [‘company’])); $users = is_array($q->results) ? array_values($q->results) : array();
Do you have any idea what is wrong?
Thanks and regards, Steffen