Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2023 04:04:56 PM (11 months ago)
Author:
dcavins
Message:

Introduce BP_Members_Invitations_Component.

Introduce a slim BP_Members_Invitations_Component
to handle the addition and management of member and admin bar navigation items for the member invitations feature.

Fixes #9013.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-loader.php

    r13105 r13629  
    2020}
    2121add_action( 'bp_setup_components', 'bp_setup_members', 1 );
     22
     23/**
     24 * Set up the bp-members-invitations component.
     25 *
     26 * @since 12.0.0
     27 */
     28function bp_setup_members_invitations() {
     29    buddypress()->members_invitations = new BP_Members_Invitations_Component();
     30}
     31add_action( 'bp_setup_components', 'bp_setup_members_invitations', 1 );
Note: See TracChangeset for help on using the changeset viewer.