.. _fwebpathto: ################################################## ``web_path_to`` — Get the URL for a local asset. ################################################## :doc:`Asset-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/web_path_to.rst .. php:function:: web_path_to($file) Get the URL for a local asset. :type $file: string :param $file: The filename. :returns: string ***** Usage ***** .. include:: /Reference/libraries/globals/usage/web_path_to.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/web_path_to.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/web_path_to.rst