How to prevent specific plugin files or subfolders from appearing under “plugin files” listing

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”.

Read More

Is this possible?

Related posts

Leave a Reply

1 comment

  1. 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.