Title: current_theme_supports-{$feature}
Published: April 25, 2014
Last modified: August 20, 2026

---

# apply_filters( “current_theme_supports-{$feature}”, bool $supports, array $args, string $feature )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#wp--skip-link--target)

Filters whether the active theme supports a specific feature.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#description)󠁿

The dynamic portion of the hook name, `$feature`, refers to the specific theme feature.
See [add_theme_support()](https://developer.wordpress.org/reference/functions/add_theme_support/)
for the list of possible values.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#parameters)󠁿

 `$supports`bool

Whether the active theme supports the given feature. Default true.

`$args`array

Array of arguments for the feature.

`$feature`string

The theme feature.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/theme.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/theme.php#L3219)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/theme.php#L3219-L3219)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#related)󠁿

| Used by | Description | 
| [current_theme_supports()](https://developer.wordpress.org/reference/functions/current_theme_supports/)`wp-includes/theme.php` |

Checks a theme’s support for a given feature.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/current_theme_supports-feature/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.4.0](https://developer.wordpress.org/reference/since/3.4.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fcurrent_theme_supports-feature%2F)
before being able to contribute a note or feedback.