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

February 12, 2011 


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