Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2021 11:50:09 PM (6 months ago)
Author:
dcavins
Message:

Member Invites: Introduce BP_Members_Invitation_Manager.

Introduce new BP_Members_Invitation_Manager class, bp_user_can filter.

See #8139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-members-component.php

    r12898 r12917  
    4040            array(
    4141                'adminbar_myaccount_order' => 20,
    42                 'search_query_arg' => 'members_search',
     42                'search_query_arg'         => 'members_search',
     43                'features'                 => array( 'invitations' )
    4344            )
    4445        );
     
    6566            'widgets',
    6667            'cache',
     68            'invitations',
    6769        );
    6870
     
    234236            $bp->profile->id   = 'profile';
    235237        }
     238
     239        /** Network Invitations **************************************************
     240         */
     241
     242        $bp->members->invitations = new stdClass;
    236243    }
    237244
Note: See TracChangeset for help on using the changeset viewer.