I’ve searched the net and the codex pages for the last two days but I couldn’t find an answer, also plugin authors seem to do it in 1000 different ways.
I’m developing a plugin where i need to upload files, files that do not belong to posts (ie they aren’t attachments), shouldn’t appear in the media library, and might need to be unpacked into multiple files.
And now I’m wondering whether there is a “best practice” regarding such uploads made by plugins? Is it ok to store files in the plugin folder, or should the wordpress uploads folder be used? And if the latter is the case, is it ok to use custom sub-folders in the wordpress uploads folder?
- The topic ‘Where should plugins store uploaded (non-attachment/library) files?’ is closed to new replies.