@since: BuddyBoss 1.4.0
Description
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_activity_comments_update_document_meta()

Update document for activity comment.

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

bp_document_delete_activity_document()

Delete document when related activity is deleted.

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

bp_document_update_document_privacy()

Update document privacy according to folder’s privacy.

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

bp_document_forums_new_post_document_save()

Save document when new topic or reply is saved

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

bp_document_forums_embed_attachments()

Embed topic or reply attachments in a post.

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

bp_document_attach_document_to_message()

Attach document to the message object.

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