New Capability Queries in WordPress 5.9
WordPress 5.9 adds support for capability queries in WP_User_Query. Similar to the existing role/role__in/role__not_in query arguments, this adds support for three new query arguments in WP_User_Query: capability capability__in capability__not_in These can be used to fetch users with (or without) a specific set of capabilities, for example to get all users with the capability to edit a certain post type. … Continue reading New Capability Queries in WordPress 5.9
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed