[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  
   3  require ('./bb-load.php');
   4  
   5  bb_repermalink();
   6  
   7  $bb_db_override = false;
   8  do_action( 'bb_index.php_pre_db' );
   9  
  10  if ( isset($_GET['new']) && '1' == $_GET['new'] ) :
  11      $forums = false;
  12  elseif ( !$bb_db_override ) :
  13      $forums = bb_get_forums(); // Comment to hide forums
  14      if ( $topics = get_latest_topics( false, $page ) ) {
  15          bb_cache_last_posts( $topics );
  16      }
  17      if ( $super_stickies = get_sticky_topics() ) {
  18          bb_cache_last_posts( $super_stickies );
  19      }
  20  endif;
  21  
  22  bb_load_template( 'front-page.php', array('bb_db_override', 'super_stickies') );
  23  
  24  ?>


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