bp_activity_show_filters

Display available filters depending on the scope.

Description

bp_activity_show_filters( (string) $context = '' ); 

Parameters (1)

0. $context — Optional. (string) => ''
The current context. activity,, member., member_groups, group.

Usage

  1. if ( !function_exists( 'bp_activity_show_filters' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-activity/bp-activity-template.php'; 
  3.  
  4. // The current context. 'activity', 'member', 
  5. // 'member_groups', 'group'. 
  6. $context = ''; 
  7.  
  8. // NOTICE! Understand what this does before running. 
  9. $result = bp_activity_show_filters($context); 
  10.  

Defined (1)

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

/bp-activity/bp-activity-template.php  
  1. function bp_activity_show_filters( $context = '' ) { 
  2. echo bp_get_activity_show_filters( $context );