Changing upload path
-
I want to change the upload path to a folder with userid, so each user uploads to its own folder.
Within wp_config i can’t access the function get_current_user_id() yet.
So the wp_config define of variables is not helping.I tried changing the upload_dir in wordpress with the upload_dir filter.
This works within my server (wp-content/uploads/{userid}, but in S3 this is ignored.Is it possible to apply the upload_dir filter also on the amazon s3 upload path?
Or is there an own filter to use?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Changing upload path’ is closed to new replies.