File: bp-core/bp-core-attachments.php |
Description |
|---|---|
| bp_attachments_current_user_can |
Needed avatar arguments are set. |
| bp_attachments_json_response() |
Send a JSON response back to an Ajax upload request. |
| bp_attachments_pre_delete_file |
Filters whether or not to handle deleting an existing BuddyPress attachment. |
| bp_attachments_get_allowed_mimes() |
Get allowed attachment mime types. |
| bp_attachments_check_filetype() |
Check the uploaded attachment type is allowed. |
| bp_attachments_create_item_type() |
Use the absolute path to an image to set an attachment type for a given item. |
| bp_attachments_get_attachment() |
Get the url or the path for a type of attachment. |
| bp_attachments_pre_get_attachment |
Filters whether or not to handle fetching a BuddyPress image attachment. |
| bp_attachments_delete_file() |
Delete an attachment for the given arguments |
| bp_attachments_is_wp_version_supported() |
Check if the current WordPress version is using Plupload 2.1.1 |