RisteDimitrievski
Active member
I'm trying to learn how to fetch all groups and then display in a widget. But unsure how to do, because i need to display all groups based on certain defined permission(s)?
Like:
Like:
XF::groups()->get();