• 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)
  • Plugin Contributor ianmjones

    (@ianmjones)

    WP Offload S3 does not exactly mirror the local path to S3 by default, it has its own settings for tuning where stuff goes on S3.

    However, you could adjust the “Key” for uploads via the as3cf_object_meta filter.

    Check out the Tweaks plugin for details.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing upload path’ is closed to new replies.