WordPress at a glance
filter is not described

current_theme_supports-(feature) filter-hook . WP 3.4.0

Filters whether the current theme supports a specific feature.

The dynamic portion of the hook name, $feature, refers to the specific theme feature. See add_theme_support() for the list of possible values.

Usage

add_filter( 'current_theme_supports-(feature)', 'filter_function_name_7660', 10, 3 );
function filter_function_name_7660( $supports, $args, $feature ){
	// filter...

	return $supports;
}
$supports(true/false)
Whether the current theme supports the given feature.
Default: true
$args(array)
Array of arguments for the feature.
$feature(string)
The theme feature.

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

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

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

current_theme_supports()
current_theme_supports-(feature)
wp-includes/theme.php 2993
return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

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

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