BP_REST_Attachments_Blog_Avatar_Endpoint::prepare_item_for_response( stdClass $avatar, WP_REST_Request $request )
Prepares avatar data to return as an object.
Description Description
Parameters Parameters
- $avatar
-
(Required) Avatar object.
- $request
-
(Required) Full details about the request.
Return Return
(WP_REST_Response)
Source Source
File: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |