Support » Fixing WordPress » Get folder name when upload media

  • Hello,

    I search a solution to a recent problem, I made a plugin to automatically create a post when I upload an image on the media uplaoder (to create quickly many posts with images).

    That’s work well but now I try to assign them in categories, I don’t want to have to do this by manual.

    So I look for a solution to define the category with the upload, like maybe put all the images in a folder with the category name.

    But I can’t find a way to retreive the folder name.

    Any solution? Ideas?



  • The topic ‘Get folder name when upload media’ is closed to new replies.