I have a folder inside my plugin that’s used to store cached data for the application.
There’s no need for the user to edit these files so I’d like to remove this folder’s files from appearing in the “Plugin files” listing that appears in the right sidebar when editing the plugin files via “Plugins > Editor”.
Is this possible?
Use the upload directory to store files.
You should never store files in the plugin directory. There is no guarantee that you have write access there.