Exclude admin non-members

Can anyone tell me how to exclude certain users from showing up on the member directory? For example, administrators who should not be listed?

When I change the sorting dropdown menu from “active” to “all” then administrators and back-up accounts are all show up in the member directory. I’d like to be able to exclude them.

Ended up having to remove the shortcode solution I found - is there another way to exclude a certain member from showing up on the member directory, such as administrators who are not a member?

The class class c_ws_plugin__s2member_pro_sc_member_list_in provides the Member List and can be adapted/overridden with a custom version with ease.

It’s found on

And is documented here