BP_Groups_Group_Members_Template::the_member()
Sets up the member to display.
Description Description
Source Source
File: bp-groups/classes/class-bp-groups-group-members-template.php
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 1.0.0
* @since 2.3.0 `$this` parameter added.
* @since 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 |
|---|---|
| 1.0.0 | Introduced. |