bp_activity_screen_favorites

Load the 'Favorites' activity page.

Description

bp_activity_screen_favorites(); 

Usage

  1. if ( !function_exists( 'bp_activity_screen_favorites' ) ) { 
  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_favorites(); 
  7.  

Defined (1)

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

/bp-activity/bp-activity-screens.php  
  1. function bp_activity_screen_favorites() { 
  2. bp_update_is_item_admin( bp_current_user_can( 'bp_moderate' ), 'activity' ); 
  3.  
  4. /** 
  5. * Fires right before the loading of the "Favorites" screen template file. 
  6. * @since 1.2.0 
  7. */ 
  8.  
  9. /** 
  10. * Filters the template to load for the "Favorites" screen. 
  11. * @since 1.2.0 
  12. * @param string $template Path to the activity template to load. 
  13. */