What Order Are Plugins Loaded WordPress?

WordPress loads plugins in the following order:
– wp-content/plugins
– wp-includes/plugin.php
– wp-admin/includes/plugin.php
– wp-includes/plugin.php
– functions.

php
– active_plugins
– plugins
– sites-available
WordPress also sets the $wp_config[‘plugin_order’] variable to a comma-separated list of plugin IDs. If the variable is not set, WordPress loads all the plugins in the wp-content/plugins directory.