Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/29/2005 07:12:42 PM (19 years ago)
Author:
matt
Message:

Tag heat map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.php

    r99 r100  
    701701}
    702702
     703function get_top_tags( $recent = true, $limit = 30 ) {
     704    global $bbdb;
     705    $tags = $bbdb->get_results("SELECT * FROM $bbdb->tags ORDER BY tag_count DESC LIMIT $limit");
     706    return $tags;
     707}
     708
    703709?>
Note: See TracChangeset for help on using the changeset viewer.