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. |
| bp_document_handle_sideload() |
This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()} |
| bp_document_add_handler() |
Document add handler function |
| 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. |
| bp_document_delete() |
Delete document. |
| bp_before_document_delete |
Fires before an document item proceeds to be deleted. |
| bp_document_delete |
Fires after the document item has been deleted. |
| bp_document_deleted_documents |
Fires after the document item has been deleted. |
| bp_document_remove_all_user_data() |
Completely remove a user’s document data. |
| bp_document_remove_all_user_data |
Fires after the removal of all of a user’s document data. |