[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/ -> bp-core-loader.php (source)

   1  <?php
   2  /**
   3   * BuddyPress Core Loader.
   4   *
   5   * Core contains the commonly used functions, classes, and APIs.
   6   *
   7   * @package BuddyPress
   8   * @subpackage Core
   9   * @since 1.5.0
  10   */
  11  
  12  // Exit if accessed directly.
  13  defined( 'ABSPATH' ) || exit;
  14  
  15  /**
  16   * Set up the bp-core component.
  17   *
  18   * @since 1.6.0
  19   */
  20  function bp_setup_core() {
  21      buddypress()->core = new BP_Core();
  22  }
  23  add_action( 'bp_loaded', 'bp_setup_core', 0 );


Generated: Mon Sep 28 01:01:32 2020 Cross-referenced by PHPXref 0.7.1