get_theme_file_uri


get_theme_file_uri ( $file = '' )

Parameters:
  • (string) file Optional. File to search for in the stylesheet directory.
Returns:
  • (string) The URL of the file.
Defined at:

Description

Retrieves the URL of a file in the theme.Searches in the stylesheet directory before the template directory so themes which inherit from a parent theme can just override one file.

Related Functions

get_parent_theme_file_uri, get_theme_file_path, get_theme_root_uri, get_theme_feature_list, get_the_title_rss

Top Google Results

User discussions

wpseek mobile