BP_Groups_Membership_Requests_Template::the_request()

Sets up the request to display.

Description

Source

File: bp-groups/classes/class-bp-groups-membership-requests-template.php

249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
public function the_request() {
    $this->in_the_loop = true;
    $this->request     = $this->next_request();
 
    // Loop has just started.
    if ( 0 == $this->current_request ) {
 
        /**
         * Fires if the current group membership request item is the first in the loop.
         *
         * @since BuddyPress 1.1.0
         */
        do_action( 'group_request_loop_start' );
    }
}

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.