Opened 9 months ago
Last modified 9 months ago
#60608 new enhancement
Missing REST API users endpoint orderby parameters
Reported by: | helgatheviking | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Allowed orderby params in users endpoint
compared to
Supported orderby params in `WP_Users_Query`
The rest endpoint is missing support for ordering by
- 'user_login' (or 'login')
- 'post_count'
- 'meta_value',
- 'meta_value_num'
- 'loginin'
I don't know how complex the meta would be, nor do I fully understand what login__in
actually does, but for sure the endpoint is missing the ability to order by the user's login/username which can be different from the nicename.
Change History (1)
Note: See
TracTickets for help on using
tickets.