bbp_has_topics

  • apply_filters( 'bbp_has_topics', $bbp->topic_query->have_posts(), $bbp->topic_query )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 283
      		// Add pagination to query object
      		$bbp->topic_query->pagination_links = paginate_links ( $bbp_topic_pagination );
      
      		// Remove first page from pagination
      		$bbp->topic_query->pagination_links = str_replace( $wp_rewrite->pagination_base . "/1/'", "'", $bbp->topic_query->pagination_links );
      	}
      
      	// Return object
      	return apply_filters( 'bbp_has_topics', $bbp->topic_query->have_posts(), $bbp->topic_query );
      }
      
      /**
       * Whether there are more topics available in the loop
       *
       * @since bbPress (r2485)
       *
       * @uses WP_Query bbPress::topic_query::have_posts()
       * @return object Topic information
       */
      

Comments are closed.