WordPress.org

Ready to get started?Download WordPress

Forums

Activate a group of plugins at once? (2 posts)

  1. Joe Hall
    Member
    Posted 3 years ago #

    I am trying to write a plugin that will activate a group of plugins all at once when I activate the one I am writing. I have been snooping around wp-admin/plugin-install.php but can't find any solutions.

    Any help would be great! As always, thanks so much!

  2. Mark / t31os
    Moderator
    Posted 3 years ago #

    Take a look in plugins.php, that's where activation occurs, not plugin-install.php ...

    First glance would suggest the activate_plugin function is what you're after.. (which if you're interested is..) defined in wp-admin/includes/plugin.php / Source Link

    Hope that helps.. :)

Topic Closed

This topic has been closed to new replies.

About this Topic