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?
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?
This should give you what you need~
http://mu.wordpress.org/forums/topic.php?id=7677&page&replies=14#post-45472
Trent
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!