WC_Frontend_Scripts::get_asset_url
Return asset URL.
Method of the class: WC_Frontend_Scripts{}
Hooks from the method
Returns
String.
Usage
$result = WC_Frontend_Scripts::get_asset_url( $path );
- $path(string) (required)
- Assets path.
WC_Frontend_Scripts::get_asset_url() WC Frontend Scripts::get asset url code WC 10.5.0
private static function get_asset_url( $path ) {
return apply_filters( 'woocommerce_get_asset_url', plugins_url( $path, WC_PLUGIN_FILE ), $path );
}