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. Possible values include 'post-formats', 'post-thumbnails', 'custom-background', 'custom-header', 'menus', 'automatic-feed-links', 'html5', 'starter-content', and 'customize-selective-refresh-widgets'.


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

	return $supports;
Whether the current theme supports the given feature.
Default: true
Array of arguments for the feature.
The theme feature.


Since 3.4.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used

Usage not found!