@mjhmatt
6 years, 6 months ago
Thanks Shane I get that.
Im trying to access BP from within wp-admin – it seems BP ready doesn’t get called within the backend?
Is there a way around this?
Thanks
So I’m trying to add a user to a group using the following code:
https://gist.github.com/mjhmatt/921925740e5a3ec54efb2b681035d5e6
However I’ve followed it back to this function:
https://gist.github.com/mjhmatt/9cdae95190bfb77e7015c4bc00431a6a
and {$bp->groups->table_name_members} is always NULL so it returns false.