WPDev.one
Core Function
View Source on Trac ↗

get_theme_file_uri()

get_theme_file_uri( mixed $file = '' )

Retrieves the URL of a file in the theme.

Parameters 0 required

Name / Type Description
$file
string

Optional. File to search for in the stylesheet directory.

Return Value

(string)
The URL of the file.

Function Information

Since Version
4.7.0
Source File
wp-includes/link-template.php
Advertisement