File: bp-document/bp-document-functions.php
Description
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_handle_sideload()

This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()}

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

bp_document_add_handler()

Document add handler function

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

bp_document_add_handler

Fires at the end of the execution of adding saving a document item, before returning the new document items in ajax response.

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

bp_document_delete()

Delete document.

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

bp_before_document_delete

Fires before an document item proceeds to be deleted.

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

bp_document_delete

Fires after the document item has been deleted.

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

bp_document_deleted_documents

Fires after the document item has been deleted.

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

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_data

Fires after the removal of all of a user’s document data.

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