File: bp-core/classes/class-bp-attachment.php |
Description |
|---|---|
| BP_Attachment::get_image_data() |
Get full data for an image |
| bp_attachments_get_image_data |
Filter here to add/remove/edit data to the image full data |
| BP_Attachment::edit_image() |
Edit an image file to resize it or rotate it |
| bp_attachment_upload_overrides |
If you need to add some overrides we haven’t thought of. |
| BP_Attachment::sanitize_utf8_filename() |
Helper to convert utf-8 characters in filenames to their ASCII equivalent. |
| BP_Attachment::validate_mime_types() |
Validate the allowed mime types using WordPress allowed mime types. |
| BP_Attachment::validate_upload() |
Specific upload rules. |
| BP_Attachment::upload_dir_filter() |
Default filter to save the attachments. |
| bp_attachment_upload_dir |
Filters the component’s upload directory. |
| BP_Attachment::create_dir() |
Create the custom base directory for the component uploads. |