Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

3.2 Autoloading

Once we start moving our code into small, modular classes, we need a way to access all of those classes. We can set up the spl_autoload_register function to use the WordPress directory structure so that properly namespaced classes are available everywhere.