get_parent_theme_file_path

SummerySummery

Retrieves the path of a file in the parent theme.

Syntax

get_parent_theme_file_path( string $file = '' )

ParametersParameters

$file

(string) (Optional) File to return the path for in the template directory.

Default value: ''

ReturnReturn

(string) The path of the file.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top