[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-friends/screens/ -> my-friends.php (source)

   1  <?php
   2  /**
   3   * Friends: User's "Friends" screen handler
   4   *
   5   * @package BuddyPress
   6   * @subpackage FriendsScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Catch and process the My Friends page.
  12   *
  13   * @since 1.0.0
  14   */
  15  function friends_screen_my_friends() {
  16  
  17      /**
  18       * Fires before the loading of template for the My Friends page.
  19       *
  20       * @since 1.0.0
  21       */
  22      do_action( 'friends_screen_my_friends' );
  23  
  24      /**
  25       * Filters the template used to display the My Friends page.
  26       *
  27       * @since 1.0.0
  28       *
  29       * @param string $template Path to the my friends template to load.
  30       */
  31      bp_core_load_template( apply_filters( 'friends_template_my_friends', 'members/single/home' ) );
  32  }


Generated: Mon Nov 25 01:00:57 2024 Cross-referenced by PHPXref 0.7.1