BP_REST_Attachments_Member_Cover_Endpoint::__construct()
Constructor.
Description
Source
File: bp-members/classes/class-bp-rest-attachments-member-cover-endpoint.php
54 55 56 57 58 | public function __construct() { $this -> namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this ->rest_base = 'members' ; $this ->attachment_instance = new BP_Attachment_Cover_Image(); } |
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.