BP_REST_Attachments_Member_Avatar_Endpoint::__construct()
Constructor.
Description Description
Source Source
File: bp-members/classes/class-bp-rest-attachments-member-avatar-endpoint.php
public function __construct() { $this->namespace = bp_rest_namespace() . '/' . bp_rest_version(); $this->rest_base = 'members'; $this->avatar_instance = new BP_Attachment_Avatar(); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |