WordPress at a glance
function is not described

Automattic\Jetpack\Autoloader\jpcd4dc500be73992154ab94f06c9d1b27

Manifest_Handler::register_record() protected WC 1.0

Registers an entry from the manifest in the path map.

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

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->register_record( $key, $data, $path_map );
$key(string) (required) (passed by reference — &)
The identifier for the entry we're registering.
$data(array) (required) (passed by reference — &)
The data for the entry we're registering.
$path_map(array) (required) (passed by reference — &)
The path map to add the contents of the manifest to.

Code of Manifest_Handler::register_record() WC 5.0.0

<?php
protected function register_record( $key, $data, &$path_map ) {
	if ( isset( $path_map[ $key ]['version'] ) ) {
		$selected_version = $path_map[ $key ]['version'];
	} else {
		$selected_version = null;
	}

	if ( $this->version_selector->is_version_update_required( $selected_version, $data['version'] ) ) {
		$path_map[ $key ] = array(
			'version' => $data['version'],
			'path'    => $data['path'],
		);
	}
}