BP_XProfile_Data_Template::profile_groups()
Kicks off the profile groups.
Description
Return
(bool)
Source
File: bp-xprofile/classes/class-bp-xprofile-data-template.php
public function profile_groups() { if ( $this->current_group + 1 < $this->group_count ) { return true; } elseif ( $this->current_group + 1 == $this->group_count ) { /** * Fires right before the rewinding of profile groups. * * @since BuddyPress 1.1.0 */ do_action( 'xprofile_template_loop_end' ); // Do some cleaning up after the loop. $this->rewind_groups(); } $this->in_the_loop = false; return false; }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.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.