web_path_to — Get the URL for a local asset.

Asset-related functions

Summary

web_path_to($file)

Get the URL for a local asset.

Parameters:
  • $file (string) – The filename.

Returns:

string

Usage

Examples

See Also