WordPress at a glance
filter is not described

parent_theme_file_path filter-hook . WP 4.7.0

Filters the path to a file in the parent theme.

Usage

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

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

Список изменений

С версии 4.7.0 Введена.

Где вызывается хук

get_parent_theme_file_path()
parent_theme_file_path
wp-includes/link-template.php 4408
return apply_filters( 'parent_theme_file_path', $path, $file );

Где используется хук в ядре WP

Использование не найдено.