W3cubDocs

/WordPress

apply_filters( ‘parent_theme_file_uri’, string $url, string $file )

Filters the URL to a file in the parent theme.

Parameters

$urlstring
The file URL.
$filestring
The requested file to search for.

Source

return apply_filters( 'parent_theme_file_uri', $url, $file );

Changelog

Version Description
4.7.0 Introduced.

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