.. _fwebpathto: ########### web_path_to ########### :doc:`FilePath-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/web_path_to.rst .. php:function:: web_path_to(string $file) Return the web path for an asset/resource within the theme. :param string $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