BP_REST_XProfile_Field_Groups_Endpoint::__construct()
Constructor.
Description Description
Source Source
File: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php
public function __construct() { $this->namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this->rest_base = buddypress()->profile->id . '/groups'; $this->fields_endpoint = new BP_REST_XProfile_Fields_Endpoint(); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |