I need to fetch the list of all users who are Authors (with Author capabilities)
get_users allows to fetch users with roles, but if users are filter with author role, it skips users with role admin and editor (but they can also create posts).
So I need some other way to fetch all users having capability of Author Role (they can be from Administator, Editor or any other custom roles with Authors capability)
To Be more precise - Need all users with "publish_posts" capability.
get_users(), working or not?