[ 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 7092 2020-05-28 17:15:10Z 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.7.0-alpha
  21   * Text Domain:       bbpress
  22   * Domain Path:       /languages/
  23   * License:           GPLv2 or later (license.txt)
  24   * Requires PHP:      5.6.20
  25   * Requires at least: 4.7
  26   */
  27  
  28  // Exit if accessed directly
  29  defined( 'ABSPATH' ) || exit;
  30  
  31  // Assume you want to load from build
  32  $bbp_loader = __DIR__ . '/build/bbpress.php';
  33  
  34  // Load from source if no build exists
  35  if ( ! file_exists( $bbp_loader ) || defined( 'BBP_LOAD_SOURCE' ) ) {
  36      $bbp_loader = __DIR__ . '/src/bbpress.php';
  37  }
  38  
  39  // Include bbPress
  40  include $bbp_loader;
  41  
  42  // Unset the loader, since it's loaded in global scope
  43  unset( $bbp_loader );


Generated: Fri May 29 01:01:26 2020 Cross-referenced by PHPXref 0.7.1