File: bp-document/bp-document-functions.php |
Description |
|---|---|
| bp_document_user_can_manage_folder() |
Check user have a permission to manage the folder. |
| bp_document_user_can_manage_document() |
Check user have a permission to manage the document. |
| bp_document_get_allowed_extension() |
Return all the allowed document extensions. |
| bp_document_get_attachment_urls() |
Returns the attachment URL and sizes URLs, in case of an image |
| bp_document_filename_to_title() |
Convert filename to post title |
| bp_document_unserialize_deep() |
Unserializes a variable until reaching a non-serialized value |
| bp_document_replace_media_urls() |
Replace the media url and fix serialization if necessary |
| bp_document_get_all_options() |
Get all options |
| bp_document_rename_file() |
This function will rename the document name. |
| bp_document_rename_folder() |
This function will rename the folder name. |