Share Code Library across Plugins
-
I have multiple plugins for numerous different functionalities. I have modularized my code to have comm functions in a file. How should I install my plugins so as to not get a fata error because of redefinition of the same file across various plugins?
I’m doing it the brain-dead way of
wp-content/plugins/my1STplugin/mylib.php
wp-content/plugins/my2NDplugin/mylib.php
wp-content/plugins/my3RDplugin/mylib.phpThanks for your ideas,
The topic ‘Share Code Library across Plugins’ is closed to new replies.