Skip to:
Content

BuddyPress.org


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

Member Invites: Add screens.

Introduce new logic on registration screens
and list-invites and send-invites screens.

See #8139.

File:
1 edited

Legend:

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

    r12917 r12920  
    139139            // Theme compatibility.
    140140            new BP_Registration_Theme_Compat();
     141        }
     142
     143        // Invitations.
     144        if ( is_user_logged_in() && bp_is_user_members_invitations() ) {
     145            if ( bp_is_user_members_invitations_list() ) {
     146                require $this->path . 'bp-members/screens/list-invites.php';
     147            } else {
     148                require $this->path . 'bp-members/screens/send-invites.php';
     149            }
    141150        }
    142151    }
Note: See TracChangeset for help on using the changeset viewer.