BP_Groups_Invite_Template::next_invite()

Increments up to the next invite to show.

Description

Return

(object)

Source

File: bp-groups/classes/class-bp-groups-invite-template.php

172
173
174
175
176
177
public function next_invite() {
    $this->current_invite++;
    $this->invite = $this->invites[ $this->current_invite ];
 
    return $this->invite;
}

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.