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::set_upload_error_strings() |
Set Upload error messages. |
BP_Attachment::includes() |
Include the WordPress core needed files. |
BP_Attachment::upload() |
Upload the attachment. |
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. |