bbp_get_topic_class

bbp_get_topic_class

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_topic_class') is found 1 times:

  • /includes/topics/template.php line 2295
    		// handles the escaping of each individual class.
    		$post_classes = get_post_class( array_merge( $classes, $topic_classes ), $topic_id );
    
    		// Filter
    		$new_classes  = apply_filters( 'bbp_get_topic_class', $post_classes, $topic_id, $classes );
    
    		// Return
    		return 'class="' . implode( ' ', $new_classes ) . '"';
    	}
    
    /** Topic Admin Links *********************************************************/