WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Loader::get_path() private WC 1.0

Gets the path for the asset depending on file type.

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

No Hooks.

Return

String. Folder path of asset.

Usage

$result = Loader::get_path( $ext );
$ext(string) (required)
File extension.

Code of Loader::get_path() WC 5.3.0

<?php
private static function get_path( $ext ) {
	return ( 'css' === $ext ) ? WC_ADMIN_DIST_CSS_FOLDER : WC_ADMIN_DIST_JS_FOLDER;
}