Hide Media Library Images for Users in WordPress

Watch out! This tutorial is over 3 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.
Tutorial Difficulty Level    

With a multi-user WordPress site all users can see all images in the media library – whether uploaded by them or not. This is in no way ideal.

However, you can easily address the issue with a snip in your theme’s functions.php file:

This adds another layer of privacy for your site’s users.