Use role__in instead of meta_query
Closed this issue · 0 comments
ocean90 commented
role__in
can now be used directly with WP_User_Query
to filter for roles, see https://developer.wordpress.org/reference/classes/WP_User_Query/prepare_query/.
Closed this issue · 0 comments
role__in
can now be used directly with WP_User_Query
to filter for roles, see https://developer.wordpress.org/reference/classes/WP_User_Query/prepare_query/.