Functions
Description
bp_document_maybe_define_constant()

Define a constant if it is not already defined.

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

bp_document_media_library_list_view_document_attachment_image()

Shows default icon for media in wordpress media library list view.

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

bp_document_message_validated_content()

Validate message if document is not empty.

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

bp_document_messages_delete_attached_document()

Delete document attached to messages.

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

bp_document_mime_type()

Return the extension of the attachment.

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

bp_document_mirror_text()

Return the preview text for the document files.

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

bp_document_move_document_to_folder()

This function will document into the folder.

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

bp_document_move_folder_to_folder()

This function will move folder to another destination folder id.

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

bp_document_multi_array_search()

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

bp_document_music_preview_remove_in_comment()

Remove the inline preview in popup activity comment document.

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

bp_document_name()

Output the document name.

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

bp_document_nocache_headers()

Wrapper for nocache_headers which also disables page caching.

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

bp_document_pagination_count()

Output the document pagination count.

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

bp_document_pagination_links()

Output the document pagination links.

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

bp_document_parent_activity_id()

Output the document parent activity id.

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

bp_document_parent_id()

Output the document parent id.

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

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

Output the number of document per page.

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

bp_document_prepare_attachment_for_js()

Prepare attachment for JavaScript.

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

bp_document_preview_attachment_id()

Output the document preview attachment id.

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

bp_document_privacy()

Output the document date modified.

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

bp_document_protect_download_rewite_rules()

Protect downloads from ms-files.php in multisite.

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

bp_document_readfile_chunked()

Read file chunked.

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

bp_document_remove_all_user_data()

Completely remove a user’s document data.

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

bp_document_remove_all_user_object_cache_data()

Clear a user’s cached document count.

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

bp_document_rename_file()

This function will rename the document name.

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

bp_document_rename_folder()

This function will rename the folder name.

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

bp_document_replace_media_urls()

Replace the media url and fix serialization if necessary

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

bp_document_reset_cache_incrementor()

Reset cache incrementor for the Document component.

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

bp_document_root_slug()

Output the document component root slug.

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

bp_document_scaled_image_path()

Return absolute path of the document file.

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

bp_document_screen_index()

Load the Document directory.

Source: bp-document/screens/directory.php:14

bp_document_search_label_search()

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

bp_document_set_nocache_constants()

Set constants to prevent caching by some plugins.

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

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

Component document helper text.

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

bp_document_sideload_attachment()

Download an image from the specified URL and attach it to a post.

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

bp_document_size_format()

Convert number of bytes largest unit bytes will fit into.

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

bp_document_slug()

Output the document component slug.

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

bp_document_svg_icon()

Return the icon based on the extension.

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

bp_document_svg_icon_list()

Return the icon list.

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

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

Remove the inline preview in popup activity comment document.

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

bp_document_title()

Output the document title.

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

bp_document_unserialize_deep()

Unserializes a variable until reaching a non-serialized value

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

bp_document_update_activity_document_meta()

Update document for activity.

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

bp_document_update_activity_privacy()

Update activity document privacy based on activity.

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

bp_document_update_document_privacy()

Update document privacy according to folder’s privacy.

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

bp_document_update_folder_modified_date()

This function will rename the folder name.

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

bp_document_update_meta()

Update a piece of document meta.

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