Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

WP Autoload

PHP autoloader that can load classes from files named according to the WordPress coding standards (with class-, abstract- and trait- prefixes). Use this if for some reason you can't use the Composer classmap autoloader.

Alternatively, create a copy of the Autoload class in your project and update the namespace to match your project.

Example:

use WPElevator\WP_Autoload\Autoload;

$autoload = new Autoload();
$autoload->add( 'Your_Vendor\Your_Namespace', __DIR__ . '/php' );

Releases

Packages

Used by

Contributors

Languages