[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-settings/screens/ -> capabilities.php (source)

   1  <?php
   2  /**
   3   * Settings: User's "Settings > Capabilities" screen handler
   4   *
   5   * @package BuddyPress
   6   * @subpackage SettingsScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Show the capabilities settings template.
  12   *
  13   * @since 1.6.0
  14   */
  15  function bp_settings_screen_capabilities() {
  16  
  17      if ( bp_action_variables() ) {
  18          bp_do_404();
  19          return;
  20      }
  21  
  22      /**
  23       * Filters the template file path to use for the capabilities settings screen.
  24       *
  25       * @since 1.6.0
  26       *
  27       * @param string $value Directory path to look in for the template file.
  28       */
  29      bp_core_load_template( apply_filters( 'bp_settings_screen_capabilities', 'members/single/settings/capabilities' ) );
  30  }


Generated: Fri Dec 13 01:01:36 2019 Cross-referenced by PHPXref 0.7.1