Limit queried media library objects to that of current post
-
I am allowing uploads for contributors because I want them to be able to add images to their posts.
I have been able to limit the shown media objects to those that the current logged in user has uploaded.
I would also like to limit the shown media objects to only those that have been uploaded on the current post that is being edited.
That way the contributors can’t delete media objects of posts that have been published since they are not allowed to edit those posts.
I want them to be able to delete media objects before the posts are published, while they are editing them and preparing them for submission.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Limit queried media library objects to that of current post’ is closed to new replies.