WPDev.one
Core Function
View Source on Trac ↗

get_theme_file_path()

get_theme_file_path( mixed $file = '' )

Retrieves the path 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 path of the file.

Function Information

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