PHP_Autoloader::load_class( string $class_name )

Loads a class file if one could be found.


Description Description

Note: This function is static so that the autoloader can be easily unregistered. If it was a class method we would have to unwrap the object to check the namespace.


Parameters Parameters

$class_name

(Required) The name of the class to autoload.


Top ↑

Return Return

(bool) Indicates whether or not a class file was loaded.


Top ↑

Source Source

File: vendor/automattic/jetpack-autoloader/src/class-php-autoloader.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.