BP_REST_Group_Invites_Endpoint::__construct()
Constructor.
Description
Source
File: bp-groups/classes/class-bp-rest-group-invites-endpoint.php
35 36 37 38 39 40 | public function __construct() { $this -> namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this ->rest_base = buddypress()->groups->id . '/invites' ; $this ->groups_endpoint = new BP_REST_Groups_Endpoint(); $this ->group_members_endpoint = new BP_REST_Group_Membership_Endpoint(); } |
Changelog
Version | Description |
---|---|
0.1.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.