WC_Frontend_Scripts::get_asset_url()private staticWC 1.0

Return asset URL.

Method of the class: WC_Frontend_Scripts{}

Hooks from the method

Return

String.

Usage

$result = WC_Frontend_Scripts::get_asset_url( $path );
$path(string) (required)
Assets path.

WC_Frontend_Scripts::get_asset_url() code WC 8.7.0

private static function get_asset_url( $path ) {
	return apply_filters( 'woocommerce_get_asset_url', plugins_url( $path, WC_PLUGIN_FILE ), $path );
}