File: bp-media/classes/class-bp-rest-media-endpoint.php |
Description |
---|---|
BP_REST_Media_Endpoint::prepare_links() |
Prepare links for the request. |
bp_rest_media_prepare_links |
Filter links prepared for the REST response. |
BP_REST_Media_Endpoint::bp_rest_media_default_scope() |
Get default scope for the media. |
bp_rest_media_default_scope |
Filter to update default scope for rest api. |
BP_REST_Media_Endpoint::bp_rest_check_privacy_restriction() |
Check user access based on the privacy for the single Media. |
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. |
BP_REST_Media_Endpoint::get_items() |
Retrieve medias. |