Advertisements

install_themes_feature_list

Definition:
function install_themes_feature_list( ) {}

Retrieve list of WordPress theme features (aka theme tags)

Source code

function install_themes_feature_list( ) {

	if ( !$cache = get_transient( 'wporg_theme_feature_list' ) )

		set_transient( 'wporg_theme_feature_list', array( ),  10800);



	if ( $cache  )

		return $cache;



	$feature_list = themes_api( 'feature_list', array( ) );

	if ( is_wp_error( $feature_list ) )

		return $features;



	set_transient( 'wporg_theme_feature_list', $feature_list, 10800 );



	return $feature_list;

}

2055

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: