bbp_reply_class

  • apply_filters( 'bbp_reply_class', $post )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 1727
      	 * @return string Row class of the reply
      	 */
      	function bbp_get_reply_class() {
      		global $bbp;
      
      		$count     = isset( $bbp->reply_query->current_post ) ? $bbp->reply_query->current_post : 1;
      		$alternate = (int) $count % 2 ? 'even' : 'odd';
      		$post      = post_class( array( $alternate ) );
      
      		return apply_filters( 'bbp_reply_class', $post );
      	}
      
      /**
       * Output the topic pagination count
       *
       * @since bbPress (r2519)
       *
       * @uses bbp_get_topic_pagination_count() To get the topic pagination count
       */
      function bbp_topic_pagination_count() {
      

Comments are closed.