Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/12/2019 08:42:30 PM (5 years ago)
Author:
dcavins
Message:

Introduce BP_Invitation and BP_Invitation_Manager.

  • Add BP_Invitation, a new class describing generic invitation objects with methods for adding, updating and deleting invitations and membership requests.
  • Add a creation routine for the new table that will contain invitations data.
  • Add BP_Invitation_Manager, a new class that offers helper functions for managing BP_Invitation objects. For most use cases, this class will be extended for new invitation types, like group invitations.
  • Add unit tests for the new classes.

See #6210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r12405 r12428  
    573573            'BP_Walker_Nav_Menu_Checklist' => 'core',
    574574            'BP_Walker_Nav_Menu'           => 'core',
     575            'BP_Invitation_Manager'        => 'core',
     576            'BP_Invitation'                => 'core',
    575577
    576578            'BP_Core_Friends_Widget' => 'friends',
Note: See TracChangeset for help on using the changeset viewer.