Support General Change Destination Of Custom File Upload Field Type Reply To: Change Destination Of Custom File Upload Field Type

#13166
david.hdavid.h
Participant

Hi Anh,

Could this be used to restrict users to accessing their own upload directory/files in the Media Library, an often requested feature in many forums.

The concept would appear to integrate nicely with all the Metabox upload fields, for example:

https://docs.metabox.io/fields/image-upload/

where the array attribute 'upload_dir' uses/creates a "home" folder which could be a user's wordpress ID or an secure, unique algorithmic hash.

Thanks,
David