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_check_privacy_restriction() |
Check user access based on the privacy for the single Media. |
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_get_item_permissions_check |
Filter the members `get_item` permissions check. |
BP_REST_Media_Endpoint::upload_item() |
Upload Media. |
BP_REST_Media_Endpoint::bp_gif_data_update_rest_field_callback() |
The function to use to update the Gif data’s value of the activity REST Field. |
BP_REST_Media_Endpoint::create_item() |
Create medias. |
bp_rest_media_upload_item |
Fires after a list of members is fetched via the REST API. |