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
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | 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.