[resolved] how to sort members using one (or multiple) fields?
-
Hi guys, I know a lot of people were wondering how to change the way members are sorted.
For my plugin, BuddyPress Real Names, I found how to change the way members are sorted alphabetically.
By default, the field used is the base field (NAME).
Here’s the code hooked on ‘bp_pre_user_query’ to use another field (or multiple ones) for alphabetical sorts.
The code should be updated for your needs buts here’s what I found :
- The topic ‘[resolved] how to sort members using one (or multiple) fields?’ is closed to new replies.