Exclude Images based on user roles?

Plugin Author
kubiq

(@kubiq)

Hello,

there is no ready-made solution, but you can ask any developer that works with WP and he will be able to solve that easily…

There is a standard hook mechanism, so you can theoretically remove filter wp_update_attachment_metadata with priority 77 or you can use documented filter for itw_sizes to remove everything based on the user role… there are more ways how to achieve this, but I’ve never received such a request before, so I don’t have any tested / working code for that.

Good luck!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer