[ 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 7232 2022-02-17 18:49:15Z 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   * License:           GNU General Public License v2 or later
  21   * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
  22   * Text Domain:       bbpress
  23   * Domain Path:       /languages/
  24   * Requires PHP:      5.6.20
  25   * Requires at least: 5.0
  26   * Version:           2.7.0-alpha-2
  27   */
  28  
  29  // Exit if accessed directly
  30  defined( 'ABSPATH' ) || exit;
  31  
  32  // Assume you want to load from build
  33  $bbp_loader = __DIR__ . '/build/bbpress.php';
  34  
  35  // Load from source if no build exists
  36  if ( ! file_exists( $bbp_loader ) || defined( 'BBP_LOAD_SOURCE' ) ) {
  37      $bbp_loader = __DIR__ . '/src/bbpress.php';
  38  }
  39  
  40  // Include bbPress
  41  include $bbp_loader;
  42  
  43  // Unset the loader, since it's loaded in global scope
  44  unset( $bbp_loader );


Generated: Thu Apr 25 01:01:05 2024 Cross-referenced by PHPXref 0.7.1