A HitchHackers guide through WordPress


Home | Pages | Archives


get_theme_support

February 24, 2011 12:56 pm

Definition:
function get_theme_support( $feature ) {}

Gets the theme support arguments passed when registering that support

Parameters

Return values

returns:The array of extra arguments

Source code

function get_theme_support( $feature ) {

	global $_wp_theme_features;

	if ( !isset( $_wp_theme_features[$feature] ) )

		return false;

	else

		return $_wp_theme_features[$feature];

}

9704

Rate this:

Posted by Thorsten

Categories: /wp-includes/theme.php, Documentation, Files, Functions, Functions by letter g

Tags: , ,

Leave a Reply



Mobile Site | Full Site


Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.