The MU forums have moved to WordPress.org

Controlling plugin order (3 posts)

  1. Vimm
    Member
    Posted 16 years ago #

    Is it possible to control what order plugins are run in? For example, I'm writing two plugins that use the "wp_authenticate" action but it's important that one plugin run before the other. Is it possible for me to control that?

  2. Trent
    Member
    Posted 16 years ago #

  3. Vimm
    Member
    Posted 16 years ago #

    Awesome, that's exactly what I needed. So the third argument is the priority and it defaults to 10. If I set my second plugin to 11 then it will always be run second. I'll go try that out now. Thanks a bunch!

About this Topic