Namespaces: global
Description
bp_document_download_file_redirect()

Redirect to a file to start the download.

Source: bp-document/bp-document-filters.php:1076

bp_document_parse_file_path()

Parse file path and see if its remote or local.

Source: bp-document/bp-document-filters.php:1088

bp_document_get_download_range()

Parse the HTTP_RANGE request from iOS devices.

Source: bp-document/bp-document-filters.php:1155

bp_document_delete_attachment_document()

Delete document entries attached to the attachment.

Source: bp-document/bp-document-filters.php:720

bp_document_download_url_file()

Check if user have a access to download the file. If not redirect to homepage.

Source: bp-document/bp-document-filters.php:739

bp_document_sync_document_data()

Sync the description of the document with the media attachment.

Source: bp-document/bp-document-filters.php:763

bp_document_activity_update_document_privacy()

Update document privacy when activity is updated.

Source: bp-document/bp-document-filters.php:783

bp_document_protect_download_rewite_rules()

Protect downloads from ms-files.php in multisite.

Source: bp-document/bp-document-filters.php:807

bp_document_check_download_folder_protection()

Source: bp-document/bp-document-filters.php:823

bp_document_prepare_attachment_for_js()

Prepare attachment for JavaScript.

Source: bp-document/bp-document-filters.php:870