WordPress at Your Fingertips
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_2175', 10, 2 );
function filter_function_name_2175( $path, $file ){
	// filter...

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

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.