get_theme_file_path ( $file = '' )
- (string) file Optional. File to search for in the stylesheet directory.
- (string) The path of the file.
- Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Retrieves the path 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.