[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/screens/ -> directory.php (source)

   1  <?php
   2  /**
   3   * Members: Directory screen handler
   4   *
   5   * @package BuddyPress
   6   * @subpackage MembersScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Handle the display of the members directory index.
  12   *
  13   * @since 1.5.0
  14   */
  15  function bp_members_screen_index() {
  16      if ( bp_is_members_directory() ) {
  17          bp_update_is_directory( true, 'members' );
  18  
  19          /**
  20           * Fires right before the loading of the Member directory index screen template file.
  21           *
  22           * @since 1.5.0
  23           */
  24          do_action( 'bp_members_screen_index' );
  25  
  26          /**
  27           * Filters the template to load for the Member directory page screen.
  28           *
  29           * @since 1.5.0
  30           *
  31           * @param string $value Path to the member directory template to load.
  32           */
  33          bp_core_load_template( apply_filters( 'bp_members_screen_index', 'members/index' ) );
  34      }
  35  }
  36  add_action( 'bp_screens', 'bp_members_screen_index' );


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