Esempio n. 1
0
/**
 * WordPress template function to display the top downloads
 *
 * @param int $count Maximum items to display (default 5)
 * @return void
 **/
function the_drainhole_stats($count = 5)
{
    global $drainhole;
    $drainhole->render('top_downloads', array('files' => DH_File::get_top_downloads($count)));
}