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

Filters the path to a file in the 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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_file_path