1

I've developed a plugin that its core doesn't rely on any external plugin but there is some functionality that can be unlocked if others plugins are active. What I would like to achieve is to display an admin notice to offer the user to install those plugins, but I would like to do it as themes plugin dependency does, with the begin installing plugins functionality, something like this:

enter image description here

Could this be done with plugins or is it limited to themes?

I know I could do a custom admin notice, but I need to do it as easiest as I could for wordpress administrators, as theme does.

Thanks

1
  • I think a custom admin notice is the easiest bet. It's literally just a few lines of code. The 'install dependent plugins' link could be something like http://.../wp-admin/plugin-install.php?s=yourname&tab=search&type=author if you are the author of the dependent plugins, or use a tab, or keyword? Look at the code for the example you gave and see how they did it.
    – anmari
    Commented Jun 23, 2018 at 5:51

1 Answer 1

0

This is a list of services and open sources that might be useful:

WP2E is a service allowing developers to create and manage installation packages to deliver and maintain sets of interdependent themes and plugins.

It is a Free WordPress plugin manager and bulk installation tool

This site mirrors the WordPress plugin and theme directories as a Composer repository.

This meta-plugin allows regular plugins to specify other plugins that they depend upon.

A lightweight class to add to WordPress plugins/themes to automatically install plugin dependencies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.