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

  • 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 Jun 23 '18 at 5:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.