DIR Return Create A Forum - Home --------------------------------------------------------- Day Girl's Bookclub HTML https://daygirlsbookclub.createaforum.com --------------------------------------------------------- ***************************************************** DIR Return to: General Discussion ***************************************************** #Post#: 135-------------------------------------------------- The first method would work for most By: Khatija Khatun Date: August 30, 2023, 4:21 am --------------------------------------------------------- Lets take a look at how to easily restrict media library access to users own uploads. Method Restrict Media Library Access Using a Plugin This method is easier and is recommended for all users. First thing you need to do is install and activate the Restrict Media Library Access plugin. For more details see our step by step guide on how to install a WordPress plugin. This plugin works out of the box and there are no settings for you to configure. Upon activation it filters the media Buy Email Database HTML https://dbtodata.com/email-data library query to see if the current user is an administrator or editor. If the user role does not match either of them then it will only show users own uploads. Users with the administrator or editor user role will be able to see all media uploads as usual. [img] HTML https://scontent.fdac5-2.fna.fbcdn.net/v/t39.30808-6/372902536_620122670243961_7597270003958491077_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=730e14&_nc_ohc=nEEzq8o10xYAX8y7lpS&_nc_ht=scontent.fdac5-2.fna&oh=00_AfCMaMx-OAMrTlOVO_3LvQj0di_BnytVCIYpoRfVEGnYXg&oe=64F38799[/img] HTML https://dbtodata.com/email-data Method Restrict Media Library Access Manually websites as it limits media library access and allows only administrator and editor to view all media uploads. However if you want to add a custom user role or simply dont want to use a plugin then you can try this method instead. It uses the same code used by the plugin but you will be able to modify it to meet your needs. *****************************************************