[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/ -> bbpress.php (source)

   1  <?php
   2  
   3  /**
   4   * The bbPress Plugin
   5   *
   6   * bbPress is forum software with a twist from the creators of WordPress.
   7   *
   8   * $Id: bbpress.php 6878 2018-12-05 18:37:32Z johnjamesjacoby $
   9   *
  10   * @package bbPress
  11   * @subpackage Main
  12   */
  13  
  14  /**
  15   * Plugin Name: bbPress
  16   * Plugin URI:  https://bbpress.org
  17   * Description: bbPress is forum software with a twist from the creators of WordPress.
  18   * Author:      The bbPress Contributors
  19   * Author URI:  https://bbpress.org
  20   * Version:     2.6-rc-7
  21   * Text Domain: bbpress
  22   * Domain Path: /languages/
  23   * License:     GPLv2 or later (license.txt)
  24   */
  25  
  26  // Exit if accessed directly
  27  defined( 'ABSPATH' ) || exit;
  28  
  29  // Assume you want to load from build
  30  $bbp_loader = __DIR__ . '/build/bbpress.php';
  31  
  32  // Load from source if no build exists
  33  if ( ! file_exists( $bbp_loader ) || defined( 'BBP_LOAD_SOURCE' ) ) {
  34      $bbp_loader = __DIR__ . '/src/bbpress.php';
  35  }
  36  
  37  // Include bbPress
  38  include $bbp_loader;
  39  
  40  // Unset the loader, since it's loaded in global scope
  41  unset( $bbp_loader );


Generated: Sat Dec 15 01:01:40 2018 Cross-referenced by PHPXref 0.7.1