activity_loop_end

  • do_action('activity_loop_end')

    Source Reference:

    • Component: BuddyPress:: bp-activity
      File: /bp-activity/bp-activity-template.php :: Trac Source Line: 205
      		if ( $this->activity_count > 0 ) {
      			$this->activity = $this->activities[0];
      		}
      	}
      
      	function user_activities() {
      		if ( $this->current_activity + 1 < $this->activity_count ) {
      			return true;
      		} elseif ( $this->current_activity + 1 == $this->activity_count ) {
      			do_action('activity_loop_end');
      			// Do some cleaning up after the loop
      			$this->rewind_activities();
      		}
      
      		$this->in_the_loop = false;
      		return false;
      	}
      
      	function the_activity() {
      		global $activity;
      

Comments are closed.