2011-03-03 bbpressのテンプレートでフォーラムとトピックスを条件指定で取得する wordpress /bb-includes/functions.bb-template.php テンプレートタグの動作を眺める /bb-includes/functions.bb-forums.php フォーラム bb_get_forums( $args ) {} 条件を指定して複数取得 bb_get_forum( $id ) {} id指定でひとつ取得 /bb-includes/functions.bb-topics.php トピックス bb_get_latest_topics( $args ) {} 条件を指定して複数取得。$args がnumericならforum