WordPress at a glance
function is not described

Automattic\Jetpack\Autoloader\jpfd0d177b2d8140b4b20d4474b07b8ed7

Autoloader_Locator::get_autoloader_version() public WC 1.0

Gets the version for the autoloader.

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

No Hooks.

Return

String|null. Nothing.

Usage

$Autoloader_Locator = new Autoloader_Locator();
$Autoloader_Locator->get_autoloader_version( $plugin_path );
$plugin_path(string) (required)
The path to the plugin.

Code of Autoloader_Locator::get_autoloader_version() WC 5.3.0

<?php
public function get_autoloader_version( $plugin_path ) {
	$classmap = trailingslashit( $plugin_path ) . 'vendor/composer/jetpack_autoload_classmap.php';
	if ( ! file_exists( $classmap ) ) {
		return null;
	}

	$classmap = require $classmap;
	if ( isset( $classmap[ AutoloadGenerator::class ] ) ) {
		return $classmap[ AutoloadGenerator::class ]['version'];
	}

	return null;
}