SHARE
TWEET

Untitled

a guest Jun 24th, 2010 283 Never
  1. add_action( 'bp_before_activity_loop', 'bp_activity_tag_header' );
  2. function bp_activity_tag_header() {
  3.         global $bp, $bp_unfiltered_uri;
  4.        
  5.         if( $bp->current_component == BP_ACTIVITY_SLUG && $bp->current_action == BP_ACTIVITY_HASHTAGS_SLUG ) {
  6.                 echo '<h3>Activity results for #' . $bp_unfiltered_uri[2]. '</h3>';
  7.         }
  8. }
RAW Paste Data
Top