Core Function
View Source on Trac ↗ get_parent_theme_file_path()
get_parent_theme_file_path( mixed $file = '' ) Retrieves the path of a file in the parent theme.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $file string | Optional. File to return the path for in the template directory. |
Return Value
(string)
The path of the file.
Function Information
Since Version
4.7.0
Source File
wp-includes/link-template.php
Advertisement