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.


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

	return $path;
The file path.
The requested file to search for.

Where the hook is called

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.