bp_activity_screen_index

Load the Activity directory.

Description

bp_activity_screen_index(); 

Usage

  1. if ( !function_exists( 'bp_activity_screen_index' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-activity/bp-activity-screens.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_activity_screen_index(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-activity/bp-activity-screens.php  
  1. function bp_activity_screen_index() { 
  2. bp_update_is_directory( true, 'activity' ); 
  3.  
  4. /** 
  5. * Fires right before the loading of the Activity directory screen template file. 
  6. * @since 1.5.0 
  7. */ 
  8.  
  9. /** 
  10. * Filters the template to load for the Activity directory screen. 
  11. * @since 1.5.0 
  12. * @param string $template Path to the activity template to load. 
  13. */