autoloader.php
Dynamic class autoloader.
Tags
Table of Contents
Functions
- autoloader() : void
- Dynamically load the referenced class.
Functions
autoloader()
Dynamically load the referenced class.
autoloader(string $required_class) : void
This is the recommended WordPress approach, so if/else is OK.
Parameters
- $required_class : string
-
The fully-qualified name of the class to load.