8 | 8 | Let's answer the question on '''why''' to move it to `ABSPATH` in the first place. The Composer autoloader works fine from outside the root of your files, it is actually designed to work in that way. Just loading `vendor/autoload.php` from really early on, say in `wp-load.php` would work fine. The only obstacle in the way of implementing a Composer autoloader would be mapping class names to WordPress standard file names, which is something Composer offers a way to do so by introducing a custom mapper. |