Namespaces: global |
Description |
|---|---|
| bp_document_get_download_content_type() |
Get content type of a download. |
| bp_document_download_headers() |
Set headers for the download. |
| bp_document_download_file_force() |
Force download – this is the default method. |
| bp_document_delete_attachment_document() |
Delete document entries attached to the attachment. |
| bp_document_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
| bp_document_sync_document_data() |
Sync the description of the document with the media attachment. |
| bp_document_activity_update_document_privacy() |
Update document privacy when activity is updated. |
| bp_document_protect_download_rewite_rules() |
Protect downloads from ms-files.php in multisite. |
| bp_document_check_download_folder_protection() | |
| bp_document_prepare_attachment_for_js() |
Prepare attachment for JavaScript. |