get_theme_support
get_theme_support ( $feature, $args )
Parameters:- (string) feature The feature to check. See add_theme_support() for the list of possible values.
- (mixed) args Optional extra arguments to be checked against certain features.
Returns:- (mixed) The array of extra arguments or the value for the registered feature.
Defined at:Change Log: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Gets the theme support arguments passed when registering that support.Example usage:
get_theme_support( 'custom-logo' );
get_theme_support( 'custom-header', 'width' );