View difference between Paste ID: 5p44Pmn8 and
SHOW: | | - or go back to the newest paste.
1-
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
}