W3cubDocs

/WordPress

apply_filters( 'parent_theme_file_path', string $path, string $file )

Filters the path to a file in the parent theme.

Parameters

$path

(string) The file path.

$file

(string) The requested file to search for.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/parent_theme_file_path