File: bp-media/classes/class-bp-rest-media-endpoint.php |
Description |
---|---|
BP_REST_Media_Endpoint::prepare_item_for_response() |
Prepares activity data for return as an object. |
BP_REST_Media_Endpoint::bbp_media_gif_get_rest_field_callback() |
The function to use to get medias gif for the topic REST Field. |
BP_REST_Media_Endpoint::__construct() |
Constructor. |
BP_REST_Media_Endpoint::update_item_permissions_check() |
Check if a given request has access to update a media. |
bp_rest_media_prepare_value |
Filter an activity value returned from the API. |
BP_REST_Media_Endpoint::bbp_media_gif_update_rest_field_callback() |
The function to use to update the medias’s value of the activity REST Field. |
BP_REST_Media_Endpoint::register_routes() |
Register the component routes. |
bp_rest_media_update_item_permissions_check |
Filter the member to `update_item` permissions check. |
BP_REST_Media_Endpoint::get_item_schema() |
Get the media schema, conforming to JSON Schema. |
BP_REST_Media_Endpoint::bp_rest_media_forums_embed_gif() |
Get Gif data. |