WordPress at Your Fingertips
function is not described

WC_Autoloader::load_file() private WC 1.0

Include a class file.

{} It's a method of the class: WC_Autoloader{}

No Hooks.

Return

true|false. Successful or not.

Usage

// private - for code of main (parent) class only
$result = $this->load_file( $path );
$path(string) (required)
File path.

Code of WC_Autoloader::load_file() WC 5.9.0

private function load_file( $path ) {
	if ( $path && is_readable( $path ) ) {
		include_once $path;
		return true;
	}
	return false;
}