WordPress at a glance
filter is not described

theme_file_path filter-hook . WP 4.7.0

Filters the path to a file in the theme.

Usage

add_filter( 'theme_file_path', 'filter_function_name_9985', 10, 2 );
function filter_function_name_9985( $path, $file ){
	// filter...

	return $path;
}
$path(string)
The file path.
$file(string)
The requested file to search for.

Where the hook is called

get_theme_file_path()
wp-includes/link-template.php 4077
return apply_filters( 'theme_file_path', $path, $file );

Where the hook is used (in WP core)

Does not used.