Functions |
Description |
|---|---|
| bp_document_ajax_check_file_mime_type() | |
| bp_document_allowed_mimes() |
Mine type for uploader allowed by buddyboss document for security reason. |
| bp_document_attach_document_to_message() |
Attach document to the message object. |
| bp_document_attachment_id() |
Output the document attachment ID. |
| bp_document_attachment_image() |
Output the document attachment. |
| bp_document_attachment_image_activity_thumbnail() |
Output the document attachment activity thumbnail. |
| bp_document_attachment_image_thumbnail() |
Output the document attachment thumbnail. |
| bp_document_author() |
Output the document name. |
| bp_document_blog_id() |
Output the document blog id. |
| bp_document_change_popup_download_text_in_comment() |
Change the text in activity comment document view. |
| bp_document_change_popup_view_text_in_comment() |
Change the text in activity comment document view. |
| bp_document_check_download_folder_protection() | |
| bp_document_check_server_config() |
Check and set certain server config variables to ensure downloads work as intended. |
| bp_document_chmod_r() |
Give recursive file permission. |
| bp_document_clean_buffers() |
Clean all output buffers. |
| bp_document_clear_cache_for_deleted_document() |
Clear cached data for deleted document items. |
| bp_document_clear_cache_for_deleted_folder() |
Clear cached data for deleted folder items. |
| bp_document_clear_cache_for_document() |
Clear a cached document item when that item is updated. |
| bp_document_clear_cache_for_folder() |
Clear a cached folder item when that item is updated. |
| bp_document_clear_document_group_object_cache() |
Clear a group’s cached document count. |
| bp_document_clear_document_group_object_cache_on_delete() |
Clear a group’s cached document count when delete. |
| bp_document_clear_document_user_object_cache() |
Clear a user’s cached document count. |
| bp_document_clear_document_user_object_cache_on_delete() |
Clear a user’s cached document count when delete. |
| bp_document_clear_folder_group_object_cache() |
Clear a group’s cached folder count. |
| bp_document_clear_folder_group_object_cache_on_delete() |
Clear a group’s cached folder count when delete. |
| bp_document_count() |
Output the document count. |
| bp_document_create_folder_recursive() |
This function will give the breadcrumbs ul li html. |
| bp_document_date() |
Output the document date modified. |
| bp_document_date_created() |
Output the document date created. |
| bp_document_date_modified() |
Output the document date modified. |
| bp_document_default_scope() |
Get default scope for the document. |
| bp_document_delete() |
Delete document. |
| bp_document_delete_activity_document() |
Delete document when related activity is deleted. |
| bp_document_delete_attachment_document() |
Delete document entries attached to the attachment. |
| bp_document_delete_meta() |
Delete a meta entry from the DB for an document feed item. |
| bp_document_delete_orphaned_attachments() |
Delete orphaned attachments uploaded |
| bp_document_directory_permalink() |
Output document directory permalink. |
| bp_document_download_error() |
Die with an error message if the download fails. |
| bp_document_download_file() | |
| bp_document_download_file_force() |
Force download – this is the default method. |
| bp_document_download_file_redirect() |
Redirect to a file to start the download. |
| bp_document_download_headers() |
Set headers for the download. |
| bp_document_download_link() |
Return download link of the document. |
| bp_document_download_url_file() |
Check if user have a access to download the file. If not redirect to homepage. |
| bp_document_extension() |
Return the extension of the attachment. |
| bp_document_extensions_list() |
Checks if extension support is enabled. |
| bp_document_file_upload_max_size() |
Get file document upload max size |
| bp_document_filename_to_title() |
Convert filename to post title |
| bp_document_folder_add_meta() |
Add a piece of document folder metadata. |
| bp_document_folder_bradcrumb() |
This function will give the breadcrumbs html. |