Title: Share Code Library across Plugins
Last modified: August 19, 2016

---

# Share Code Library across Plugins

 *  [abe1999](https://wordpress.org/support/users/abe1999/)
 * (@abe1999)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/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.
   php
 * Thanks for your ideas,

 The topic ‘Share Code Library across Plugins’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [abe1999](https://wordpress.org/support/users/abe1999/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/share-code-library-across-plugins/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
