apply_filters( "current_theme_supports-{$feature}", bool $supports , array $args , string $feature )
Filters whether the active theme supports a specific feature.
Description
The dynamic portion of the hook name, $feature
, refers to the specific theme feature. See add_theme_support() for the list of possible values.
Parameters
- $supports
-
Whether the active theme supports the given feature. Default true.
- $args
-
Array of arguments for the feature.
- $feature
-
The theme feature.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |