On this page
apply_filters( 'parent_theme_file_path', string $path, string $file )
Filters the path to a file in the parent theme.
Parameters
$pathstring-
The file path.
$filestring-
The requested file to search for.
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'parent_theme_file_path', $path, $file );
Related
Used By
| Used By | Description |
|---|---|
| get_parent_theme_file_path() wp-includes/link-template.php | Retrieves the path of a file in the parent theme. |
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/parent_theme_file_path