BP_XProfile_Data_Template::profile_groups()

Kicks off the profile groups.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: bp-xprofile/classes/class-bp-xprofile-data-template.php

276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
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 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;
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.