forum_loop_end

  • do_action('forum_loop_end')

    Source Reference:

    • Component: BuddyPress:: bp-forums
      File: /bp-forums/bp-forums-template.php :: Trac Source Line: 221
      		if ( $this->topic_count > 0 ) {
      			$this->topic = $this->topics[0];
      		}
      	}
      
      	function user_topics() {
      		if ( $this->current_topic + 1 < $this->topic_count ) {
      			return true;
      		} elseif ( $this->current_topic + 1 == $this->topic_count ) {
      			do_action('forum_loop_end');
      			// Do some cleaning up after the loop
      			$this->rewind_topics();
      		}
      
      		$this->in_the_loop = false;
      		return false;
      	}
      
      	function the_topic() {
      		global $topic;
      

Comments are closed.