[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress Settings Loader.
   4   *
   5   * @package BuddyPress
   6   * @subpackage SettingsLoader
   7   * @since 1.5.0
   8   */
   9  
  10  // Exit if accessed directly.
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  /**
  14   * Set up the bp-settings component.
  15   *
  16   * @since 1.6.0
  17   */
  18  function bp_setup_settings() {
  19      buddypress()->settings = new BP_Settings_Component();
  20  }
  21  add_action( 'bp_setup_components', 'bp_setup_settings', 6 );


Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1