bbp_has_replies

  • apply_filters( 'bbp_has_replies', $bbp->reply_query->have_posts(), $bbp->reply_query )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 180
      		// Remove first page from pagination
      		if ( $wp_rewrite->using_permalinks() )
      			$bbp->reply_query->pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $bbp->reply_query->pagination_links );
      		else
      			$bbp->reply_query->pagination_links = str_replace( '&paged=1', '', $bbp->reply_query->pagination_links );
      	}
      
      	// Return object
      	return apply_filters( 'bbp_has_replies', $bbp->reply_query->have_posts(), $bbp->reply_query );
      }
      
      /**
       * Whether there are more replies available in the loop
       *
       * @since bbPress (r2553)
       *
       * @uses WP_Query bbPress::reply_query::have_posts() To check if there are more
       *                                                    replies available
       * @return object Replies information
      

Comments are closed.