[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-forums/bbpress/ -> forum.php (source)

   1  <?php
   2  
   3  require_once ('./bb-load.php');
   4  
   5  $forum_id = 0;
   6  
   7  bb_repermalink();
   8  
   9  if ( !$forum )
  10      bb_die(__('Forum not found.'));
  11  
  12  $bb_db_override = false;
  13  do_action( 'bb_forum.php_pre_db', $forum_id );
  14  
  15  if ( !$bb_db_override ) :
  16      if ( $topics = get_latest_topics( $forum_id, $page ) ) {
  17          bb_cache_last_posts( $topics );
  18      }
  19      if ( $stickies = get_sticky_topics( $forum_id, $page ) ) {
  20          bb_cache_last_posts( $stickies );
  21      }
  22  endif;
  23  
  24  bb_load_template( 'forum.php', array('bb_db_override', 'stickies'), $forum_id );
  25  
  26  ?>


Generated: Thu Dec 7 01:01:35 2017 Cross-referenced by PHPXref 0.7.1