Core Function
View Source on Trac ↗ get_theme_support()
get_theme_support( mixed $feature, mixed $args ) Gets the theme support arguments passed when registering that support.
Parameters 2 required
| Name / Type | Description |
|---|---|
| string | $feature The feature to check. See add_theme_support() for the list of possible values. Required |
| mixed | ...$args Optional extra arguments to be checked against certain features. Required |
Return Value
(mixed)
The array of extra arguments or the value for the registered feature.
Function Information
Since Version
3.1.0
Source File
wp-includes/theme.php
Advertisement