Advertisement
Guest User

Untitled

a guest
Jun 24th, 2010
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement