WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Assets

Api::get_asset_url() protected WC 1.0

Retrieve the url to an asset for this plugin.

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_asset_url( $relative_path );
$relative_path(string)
An optional relative path appended to the returned url.
Default: ''

Code of Api::get_asset_url() WC 5.6.0

protected function get_asset_url( $relative_path = '' ) {
	return $this->package->get_url( $relative_path );
}