[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-groups/screens/single/ -> activity.php (source)

   1  <?php
   2  /**
   3   * Groups: Single group "Activity" screen handler
   4   *
   5   * @package BuddyPress
   6   * @subpackage GroupsScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Handle the loading of a single group's activity.
  12   *
  13   * @since 2.4.0
  14   */
  15  function groups_screen_group_activity() {
  16  
  17      if ( ! bp_is_single_item() ) {
  18          return false;
  19      }
  20  
  21      /**
  22       * Fires before the loading of a single group's activity page.
  23       *
  24       * @since 2.4.0
  25       */
  26      do_action( 'groups_screen_group_activity' );
  27  
  28      /**
  29       * Filters the template to load for a single group's activity page.
  30       *
  31       * @since 2.4.0
  32       *
  33       * @param string $value Path to a single group's template to load.
  34       */
  35      bp_core_load_template( apply_filters( 'groups_screen_group_activity', 'groups/single/activity' ) );
  36  }


Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1