HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Sharing code across plugins
a) Put your helper functions in a separate file b) Write a barebone plugin that has an include helper functions file line after the (empty) plugins class to be able to access your functions c) Use a batch to append that helper file to a plugin so that you can ship it with the helper functions included. This batch creates a… -
Re: Sharing code across plugins
First, I think distributing a "generic functions" plugin is a very bad route. Generic functions go in core, that's the point. No one wants to maintain extra plugins - neither the author nor the end user. I'd take this off the table. Second, I would consider whether you're reinventing the wheel or bucking the system. Is…
2 results