Changeset 9706 for trunk/src/bp-groups/bp-groups-template.php
- Timestamp:
- 04/06/2015 08:59:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r9646 r9706 3680 3680 } elseif ( $tick == $this->member_count ) { 3681 3681 3682 do_action( 'loop_end' ); 3682 /** 3683 * Fires right before the rewinding of members list. 3684 * 3685 * @since BuddyPress (1.0.0) 3686 * @since BuddyPress (2.3.0) `$this` parameter added. 3687 * 3688 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. 3689 */ 3690 do_action( 'loop_end', $this ); 3691 3683 3692 // Do some cleaning up after the loop 3684 3693 $this->rewind_members(); … … 3695 3704 // loop has just started 3696 3705 if ( 0 == $this->current_member ) { 3697 do_action( 'loop_start' ); 3706 3707 /** 3708 * Fires if the current member item is the first in the members list. 3709 * 3710 * @since BuddyPress (1.0.0) 3711 * @since BuddyPress (2.3.0) `$this` parameter added. 3712 * 3713 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. 3714 */ 3715 do_action( 'loop_start', $this ); 3698 3716 } 3699 3717 } … … 5334 5352 return true; 5335 5353 } elseif ( $tick == $this->invite_count ) { 5336 do_action( 'loop_end' ); 5354 5355 /** 5356 * Fires right before the rewinding of invites list. 5357 * 5358 * @since BuddyPress (1.1.0) 5359 * @since BuddyPress (2.3.0) `$this` parameter added. 5360 * 5361 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. 5362 */ 5363 do_action( 'loop_end', $this ); 5364 5337 5365 // Do some cleaning up after the loop 5338 5366 $this->rewind_invites(); … … 5383 5411 // loop has just started 5384 5412 if ( 0 == $this->current_invite ) { 5385 do_action( 'loop_start' ); 5413 5414 /** 5415 * Fires if the current invite item is the first in the loop. 5416 * 5417 * @since BuddyPress (1.1.0) 5418 * @since BuddyPress (2.3.0) `$this` parameter added. 5419 * 5420 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. 5421 */ 5422 do_action( 'loop_start', $this ); 5386 5423 } 5387 5424 }
Note: See TracChangeset
for help on using the changeset viewer.