@since: BuddyBoss 1.4.1
Description
bp_document_download_file_force()

Force download – this is the default method.

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

bp_document_download_error()

Die with an error message if the download fails.

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

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_protect_download_rewite_rules()

Protect downloads from ms-files.php in multisite.

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

bp_document_prepare_attachment_for_js()

Prepare attachment for JavaScript.

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

bp_document_set_time_limit()

Wrapper for set_time_limit to see if it is enabled.

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

bp_document_check_server_config()

Check and set certain server config variables to ensure downloads work as intended.

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

bp_document_clean_buffers()

Clean all output buffers.

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

bp_document_mirror_text()

Return the preview text for the document files.

Source: bp-templates/bp-nouveau/includes/document/functions.php:1132