BP_REST_Attachments_Group_Cover_Endpoint::__construct()
Constructor.
Source Source
File: bp-groups/classes/class-bp-rest-attachments-group-cover-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->attachment_instance = new BP_Attachment_Cover_Image(); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |