BP_REST_Group_Membership_Endpoint::__construct()
Constructor.
Description Description
Source Source
File: bp-groups/classes/class-bp-rest-group-membership-endpoint.php
public function __construct() { $this->namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this->rest_base = buddypress()->groups->id; $this->groups_endpoint = new BP_REST_Groups_Endpoint(); $this->members_endpoint = new BP_REST_Members_Endpoint(); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |