0

What is the advantage of putting code in a mu-plugin as appose to a plugin or child theme? What is the proper usage for the mu-plugin? I mean I can just put code in my child theme but is that the proper usage? Thanks

1 Answer 1

0

Usually putting code in child themes means putting everything in the /functions folder. If you don't write alot of custom code this shouldn't be such a problem.

By using mu-plugins you can create a more logical way or organising your code. Especially on larger websites this will make your life a lot easier. When new devs join the project, they'll actually know where to look for code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.