Keeping Plugin actions/elements private

Hello,

I am working on a private custom plugin, and I was wondering if there is any way to keep specific elements and/or actions private/hidden even when I publish a new version of the plugin. For example, if I have an action that I only use for testing, but don’t want it to be visible to the app that uses the plugin, is there a way to prevent it from being published, but still keep it in the plugin for future use?

Any tips or advice from the community would be greatly appreciated.

Unfortunately, no. I would recommend that you duplicate the plugin. Use one for testing and for those private actions/elements you want, and publish the other one freely.