Viewing 1 replies (of 1 total)
  • Plugin Author ulfben

    (@ulfben)

    There is no way of knowing the structure ahead of time, since it depends on the current time and what post you’re uploading to. There is a test function in there that takes a post id and thus gives you a preview of the wp_upload_dir. Check the source for the admin page.

Viewing 1 replies (of 1 total)

The topic ‘wp_upload_dir doesn't return correct structure’ is closed to new replies.