File: bp-core/bp-core-attachments.php |
Description |
---|---|
bp_attachments_get_allowed_types |
Filter here to edit the allowed extensions by attachment type. |
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 |