Support » Everything else WordPress » Dependency on parent plugin allowed?

  • Resolved Preliot


    Does the WordPress plugin directory allow dependend plugins?

    I’ve got a parent plug-in which holds generic code for all my plugins. Instead of adding this code to each plugin (which is a maintenance nightmare), i want to seperate this.

    My questions:

    1) Is this allowed?
    2) What is the preferred way to build a dependency into your plugin?
    3) If it is not allowed, any tips on how to avoid the maintenance issues?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes,

    You can declare all class in parent plugin and check it in child plugin if class exist on parent plugin then child plugin activate else not working.

    If you want a straight yes or no answer you should contact They’ll be able to tell you.

    Jacob: sent a mail, thanks for the address!

    • This reply was modified 1 year, 4 months ago by  Preliot.

    @ipstenu answered my question with an e-mail:


    A plugin has to work and do SOMETHING on its own. You’ve described a library, which is not permitted.

    I recommend a tool like gulp or grunt to aid your development process when using libraries.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dependency on parent plugin allowed?’ is closed to new replies.