A blog about DevOps, PHP, WordPress and more!

Change WordPress plugin load order

IMPORTANT NOTEChanging the plugin load order should only be done as a last-ditch effort. If you want to interface with other plugins, it can most often be solved by hooking on plugins_loaded before running your code. That will make sure that all plugins have been loaded before your code is executed.

This snippet will reorder the plugin load list to load your plugin first.