Functions
Description
bp_document_ajax_check_file_mime_type()

Source: bp-core/admin/bp-core-admin-functions.php:3014

bp_document_allowed_mimes()

Mine type for uploader allowed by buddyboss document for security reason.

Source: bp-document/bp-document-functions.php:1451

bp_document_attach_document_to_message()

Attach document to the message object.

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

bp_document_attachment_id()

Output the document attachment ID.

Source: bp-document/bp-document-template.php:651

bp_document_attachment_image()

Output the document attachment.

Source: bp-document/bp-document-template.php:1024

bp_document_attachment_image_activity_thumbnail()

Output the document attachment activity thumbnail.

Source: bp-document/bp-document-template.php:993

bp_document_attachment_image_thumbnail()

Output the document attachment thumbnail.

Source: bp-document/bp-document-template.php:958

bp_document_author()

Output the document name.

Source: bp-document/bp-document-template.php:1836

bp_document_blog_id()

Output the document blog id.

Source: bp-document/bp-document-template.php:544

bp_document_change_popup_download_text_in_comment()

Change the text in activity comment document view.

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

bp_document_change_popup_view_text_in_comment()

Change the text in activity comment document view.

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

bp_document_check_download_folder_protection()

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

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

Give recursive file permission.

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

bp_document_clean_buffers()

Clean all output buffers.

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

bp_document_clear_cache_for_deleted_document()

Clear cached data for deleted document items.

Source: bp-document/bp-document-cache.php:31

bp_document_clear_cache_for_deleted_folder()

Clear cached data for deleted folder items.

Source: bp-document/bp-document-cache.php:157

bp_document_clear_cache_for_document()

Clear a cached document item when that item is updated.

Source: bp-document/bp-document-cache.php:19

bp_document_clear_cache_for_folder()

Clear a cached folder item when that item is updated.

Source: bp-document/bp-document-cache.php:145

bp_document_clear_document_group_object_cache()

Clear a group’s cached document count.

Source: bp-document/bp-document-cache.php:109

bp_document_clear_document_group_object_cache_on_delete()

Clear a group’s cached document count when delete.

Source: bp-document/bp-document-cache.php:125

bp_document_clear_document_user_object_cache()

Clear a user’s cached document count.

Source: bp-document/bp-document-cache.php:61

bp_document_clear_document_user_object_cache_on_delete()

Clear a user’s cached document count when delete.

Source: bp-document/bp-document-cache.php:77

bp_document_clear_folder_group_object_cache()

Clear a group’s cached folder count.

Source: bp-document/bp-document-cache.php:187

bp_document_clear_folder_group_object_cache_on_delete()

Clear a group’s cached folder count when delete.

Source: bp-document/bp-document-cache.php:203

bp_document_count()

Output the document count.

Source: bp-document/bp-document-template.php:402

bp_document_create_folder_recursive()

This function will give the breadcrumbs ul li html.

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

bp_document_date()

Output the document date modified.

Source: bp-document/bp-document-template.php:2133

bp_document_date_created()

Output the document date created.

Source: bp-document/bp-document-template.php:925

bp_document_date_modified()

Output the document date modified.

Source: bp-document/bp-document-template.php:2060

bp_document_default_scope()

Get default scope for the document.

Source: bp-document/bp-document-functions.php:3423

bp_document_delete()

Delete document.

Source: bp-document/bp-document-functions.php:672

bp_document_delete_activity_document()

Delete document when related activity is deleted.

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

bp_document_delete_attachment_document()

Delete document entries attached to the attachment.

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

bp_document_delete_meta()

Delete a meta entry from the DB for an document feed item.

Source: bp-document/bp-document-functions.php:37

bp_document_delete_orphaned_attachments()

Delete orphaned attachments uploaded

Source: bp-document/bp-document-functions.php:1207

bp_document_directory_permalink()

Output document directory permalink.

Source: bp-document/bp-document-template.php:1060

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

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

bp_document_download_file_force()

Force download – this is the default method.

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

bp_document_download_file_redirect()

Redirect to a file to start the download.

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

bp_document_download_headers()

Set headers for the download.

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

bp_document_download_link()

Return download link of the document.

Source: bp-document/bp-document-functions.php:2834

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

Return the extension of the attachment.

Source: bp-document/bp-document-functions.php:1475

bp_document_extensions_list()

Checks if extension support is enabled.

Source: bp-media/bp-media-settings.php:1267

bp_document_file_upload_max_size()

Get file document upload max size

Source: bp-document/bp-document-functions.php:262

bp_document_filename_to_title()

Convert filename to post title

Source: bp-document/bp-document-functions.php:2281

bp_document_folder_add_meta()

Add a piece of document folder metadata.

Source: bp-document/bp-document-functions.php:246

bp_document_folder_bradcrumb()

This function will give the breadcrumbs html.

Source: bp-document/bp-document-functions.php:2093