Opened 5 weeks ago
#63103 new feature request
Add 'orderby'=>'rand' option for get_users() function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | trivial | Version: | 6.7.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Recently I've faced the problem when I need to get random user (in my case it's only one, but I see that it could be many). I solved it the other way, but I thought that it is very inconvenient that developers need to reinvent the wheel every time by their own instead of we just add
<?php get_users(['orderby'=>'rand']);
possibility
Note: See
TracTickets for help on using
tickets.