Functions |
Description |
|---|---|
| bp_document_maybe_define_constant() |
Define a constant if it is not already defined. |
| bp_document_media_library_list_view_document_attachment_image() |
Shows default icon for media in wordpress media library list view. |
| bp_document_message_validated_content() |
Validate message if document is not empty. |
| bp_document_messages_delete_attached_document() |
Delete document attached to messages. |
| bp_document_mime_type() |
Return the extension of the attachment. |
| bp_document_mirror_text() |
Return the preview text for the document files. |
| bp_document_move_document_to_folder() |
This function will document into the folder. |
| bp_document_move_folder_to_folder() |
This function will move folder to another destination folder id. |
| bp_document_multi_array_search() | |
| bp_document_music_preview_remove_in_comment() |
Remove the inline preview in popup activity comment document. |
| bp_document_name() |
Output the document name. |
| bp_document_nocache_headers() |
Wrapper for nocache_headers which also disables page caching. |
| bp_document_pagination_count() |
Output the document pagination count. |
| bp_document_pagination_links() |
Output the document pagination links. |
| bp_document_parent_activity_id() |
Output the document parent activity id. |
| bp_document_parent_id() |
Output the document parent id. |
| bp_document_parse_file_path() |
Parse file path and see if its remote or local. |
| bp_document_per_page() |
Output the number of document per page. |
| bp_document_prepare_attachment_for_js() |
Prepare attachment for JavaScript. |
| bp_document_preview_attachment_id() |
Output the document preview attachment id. |
| bp_document_privacy() |
Output the document date modified. |
| bp_document_protect_download_rewite_rules() |
Protect downloads from ms-files.php in multisite. |
| bp_document_readfile_chunked() |
Read file chunked. |
| bp_document_remove_all_user_data() |
Completely remove a user’s document data. |
| bp_document_remove_all_user_object_cache_data() |
Clear a user’s cached document count. |
| bp_document_rename_file() |
This function will rename the document name. |
| bp_document_rename_folder() |
This function will rename the folder name. |
| bp_document_replace_media_urls() |
Replace the media url and fix serialization if necessary |
| bp_document_reset_cache_incrementor() |
Reset cache incrementor for the Document component. |
| bp_document_root_slug() |
Output the document component root slug. |
| bp_document_scaled_image_path() |
Return absolute path of the document file. |
| bp_document_screen_index() |
Load the Document directory. |
| bp_document_search_label_search() | |
| bp_document_set_nocache_constants() |
Set constants to prevent caching by some plugins. |
| bp_document_set_time_limit() |
Wrapper for set_time_limit to see if it is enabled. |
| bp_document_settings_callback_extension_section() |
Component document helper text. |
| bp_document_sideload_attachment() |
Download an image from the specified URL and attach it to a post. |
| bp_document_size_format() |
Convert number of bytes largest unit bytes will fit into. |
| bp_document_slug() |
Output the document component slug. |
| bp_document_svg_icon() |
Return the icon based on the extension. |
| bp_document_svg_icon_list() |
Return the icon list. |
| bp_document_sync_document_data() |
Sync the description of the document with the media attachment. |
| bp_document_text_preview_remove_in_comment() |
Remove the inline preview in popup activity comment document. |
| bp_document_title() |
Output the document title. |
| bp_document_unserialize_deep() |
Unserializes a variable until reaching a non-serialized value |
| bp_document_update_activity_document_meta() |
Update document for activity. |
| bp_document_update_activity_privacy() |
Update activity document privacy based on activity. |
| bp_document_update_document_privacy() |
Update document privacy according to folder’s privacy. |
| bp_document_update_folder_modified_date() |
This function will rename the folder name. |
| bp_document_update_meta() |
Update a piece of document meta. |