A HitchHackers guide through WordPress


Home | Pages | Archives


install_themes_new

February 12, 2011 1:19 am

Definition:
function install_themes_new($page = 1) {}

Display new themes/

Parameters

Source code

function install_themes_new($page = 1) {

	global $theme_field_defaults;

	$args = array('browse' => 'new', 'page' => $page, 'fields' => $theme_field_defaults);

	$api = themes_api('query_themes', $args);

	if ( is_wp_error($api) )

		wp_die($api);

	display_themes($api->themes, $api->info['page'], $api->info['pages']);

}

2057

Rate this:

Posted by Thorsten

Categories: /wp-admin/includes/theme-install.php, Documentation, Files, Functions, Functions by letter i

Tags: ,

Leave a Reply



Mobile Site | Full Site


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