This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Class Autoloader | |
* Author: Govind | |
* Author URI: http://emgk.github.io | |
* Email: [email protected] | |
* | |
* Suppose, In our WP plugin we have three classes inside 'classes' folder. | |
* to load them without long lines of require_once statements, then in that | |
* case we have to use spl_autoload_register() function. |
NewerOlder