Used By
Used By | Description |
---|---|
wp-includes/theme.php: current_theme_supports() | Checks a theme’s support for a given feature. |
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.
(bool) Whether the current theme supports the given feature. Default true.
(array) Array of arguments for the feature.
(string) The theme feature.
File: wp-includes/theme.php
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/current_theme_supports-feature