physical_path_to

FilePath-related functions

Summary

physical_path_to(string $file)

Return the physical path for an asset/resource within the theme (or plugins, shared, etc.)

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

string

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

FilePath-related functions

Next topic

src

This Page