File: bp-document/bp-document-filters.php
Description
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

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_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