Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Privacy

$
0
0

Replies: 0

Hello,

I want to know if you can help me to create a code that let users upload automatically to a private specific folder named with their user ID under the main bucket, so that they can ultimately see only their own files.

I thought the following code you suggested can help by somehow adding the user ID to the name :

//Upload files to random folder
add_filter( 'ssu_shortcode_upload_folder', function() {
   return 'random';
} );

But I think it is working on the Uploads Folder on our own server, and not on amazon S3.

Any ideas to help us?


Viewing all articles
Browse latest Browse all 59525

Trending Articles