BP_Groups_Group_Members_Template::the_member()

Sets up the member to display.

Description

Source

File: bp-groups/classes/class-bp-groups-group-members-template.php

268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
public function the_member() {
    $this->in_the_loop = true;
    $this->member      = $this->next_member();
 
    // Loop has just started.
    if ( 0 == $this->current_member ) {
 
        /**
         * Fires if the current member item is the first in the members list.
         *
         * @since BuddyPress 1.0.0
         * @since BuddyPress 2.3.0 `$this` parameter added.
         * @since BuddyPress 2.7.0 Action renamed from `loop_start`.
         *
         * @param BP_Groups_Group_Members_Template $this Instance of the current Members template.
         */
        do_action( 'group_members_loop_start', $this );
    }
}

Changelog

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.