bp_forum_topic_posts

Determine whether there are posts left in the loop.

Description

bp_forum_topic_posts(); 

Usage

  1. if ( !function_exists( 'bp_forum_topic_posts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bp-forums-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_forum_topic_posts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bp-forums-template.php  
  1. function bp_forum_topic_posts() { 
  2. global $topic_template; 
  3. return $topic_template->user_posts();