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.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:1305

BP_REST_Media_Endpoint::bbp_media_gif_get_rest_field_callback()

The function to use to get medias gif for the topic REST Field.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:2537

BP_REST_Media_Endpoint::__construct()

Constructor.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:23

BP_REST_Media_Endpoint::update_item_permissions_check()

Check if a given request has access to update a media.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:777

bp_rest_media_prepare_value

Filter an activity value returned from the API.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:1340

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.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:2569

BP_REST_Media_Endpoint::register_routes()

Register the component routes.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:48

bp_rest_media_update_item_permissions_check

Filter the member to `update_item` permissions check.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:835

BP_REST_Media_Endpoint::get_item_schema()

Get the media schema, conforming to JSON Schema.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:1395

BP_REST_Media_Endpoint::bp_rest_media_forums_embed_gif()

Get Gif data.

Source: bp-media/classes/class-bp-rest-media-endpoint.php:2609