How to Hide Admin Users in the Members Directory?

If you would like to hide your administrators from the member directory, here is a simple code snippet that will do the job:

Heads up! Don’t know how to add a PHP code snippet to your site ?
If you want to find out how to add a PHP code snippet to your site, you can visit this other article of our documentation: Adding Custom PHP Without Changing Your Child Theme.