woocommerce_get_asset_url filter-hookWC 1.0

Return asset URL.

Usage

add_filter( 'woocommerce_get_asset_url', 'wp_kama_woocommerce_get_asset_url_filter' );

/**
 * Function for `woocommerce_get_asset_url` filter-hook.
 * 
 * @param  $path 
 *
 * @return 
 */
function wp_kama_woocommerce_get_asset_url_filter( $path ){

	// filter...
	return $path;
}
$path
-

Where the hook is called

WC_Frontend_Scripts::get_asset_url()
woocommerce_get_asset_url
woocommerce/includes/class-wc-frontend-scripts.php 110
return apply_filters( 'woocommerce_get_asset_url', plugins_url( $path, WC_PLUGIN_FILE ), $path );

Where the hook is used in WooCommerce

Usage not found.