Core Function
View Source on Trac ↗ get_registered_theme_feature()
get_registered_theme_feature( mixed $feature ) Gets the registration config for a theme feature.
Parameters 1 required
| Name / Type | Description |
|---|---|
| string | $feature The feature name. See add_theme_support() for the list of possible values. Required |
Return Value
((array)
| null) The registration args, or null if the feature was not registered.
Function Information
Since Version
5.5.0
Source File
wp-includes/theme.php
Advertisement