bbp_get_forum_class

  • apply_filters( 'bbp_get_forum_class', $post )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-template.php :: Trac Source Line: 1607
      		$classes   = array();
      		$classes[] = $bbp->forum_query->current_post % 2 ? 'even' : 'odd';
      		$classes[] = bbp_is_forum_category() ? 'status-category' : '';
      		$classes[] = bbp_is_forum_private()  ? 'status-private'  : '';
      		$classes   = array_filter( $classes );
      
      		$post      = post_class( $classes );
      
      		return apply_filters( 'bbp_get_forum_class', $post );
      	}
      
      /** Single Forum **************************************************************/
      
      /**
       * Output a fancy description of the current forum, including total topics,
       * total replies, and last activity.
       *
       * @since bbPress (r2860)
       *
      

Comments are closed.