WordPress at a glance
function is not described

Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7

Version_Loader::find_class_file() public WC 1.0

Finds the file path for the given class.

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

No Hooks.

Return

String|null. $file_path The path to the file if found, null if no class was found.

Usage

$Version_Loader = new Version_Loader();
$Version_Loader->find_class_file( $class_name );
$class_name(string) (required)
The class to find.

Code of Version_Loader::find_class_file() WC 5.3.0

<?php
public function find_class_file( $class_name ) {
	$data = $this->select_newest_file(
		isset( $this->classmap[ $class_name ] ) ? $this->classmap[ $class_name ] : null,
		$this->find_psr4_file( $class_name )
	);
	if ( ! isset( $data ) ) {
		return null;
	}

	return $data['path'];
}