Functions.php should generally be used when you just want to add a minor feature that requires a single function or few lines of code. However, you cannot use functions.php to run code in the actions such as “plugins_loaded”. This is by design and should be too, as each theme will have their own functions.php file

More: continued here