WordPress at a glance
function is not described

install_popular_tags() WP 2.7.0

Retrieve popular WordPress plugin tags.

No Hooks.

Return

Array.

Usage

install_popular_tags( $args );
$args(array)

Default: array()

Code of install popular tags: wp-admin/includes/plugin-install.php VER 5.1.1

<?php
function install_popular_tags( $args = array() ) {
	$key = md5( serialize( $args ) );
	if ( false !== ( $tags = get_site_transient( 'poptags_' . $key ) ) ) {
		return $tags;
	}

	$tags = plugins_api( 'hot_tags', $args );

	if ( is_wp_error( $tags ) ) {
		return $tags;
	}

	set_site_transient( 'poptags_' . $key, $tags, 3 * HOUR_IN_SECONDS );

	return $tags;
}