bp_activity_admin

Output the Activity component admin screens.

Description

bp_activity_admin(); 

Usage

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

Defined (1)

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

/bp-activity/bp-activity-admin.php  
  1. function bp_activity_admin() { 
  2. // Decide whether to load the index or edit screen. 
  3. $doaction = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : ''; 
  4.  
  5. // Display the single activity edit screen. 
  6. if ( 'edit' == $doaction && ! empty( $_GET['aid'] ) ) 
  7.  
  8. // Otherwise, display the Activity index screen. 
  9. else