File: bp-core/classes/class-bp-attachment.php
Description
BP_Attachment::get_image_data()

Get full data for an image

Source: bp-core/classes/class-bp-attachment.php:571

bp_attachments_get_image_data

Filter here to add/remove/edit data to the image full data

Source: bp-core/classes/class-bp-attachment.php:607

BP_Attachment::edit_image()

Edit an image file to resize it or rotate it

Source: bp-core/classes/class-bp-attachment.php:628

BP_Attachment::upload()

Upload the attachment.

Source: bp-core/classes/class-bp-attachment.php:205

bp_attachment_upload_overrides

If you need to add some overrides we haven’t thought of.

Source: bp-core/classes/class-bp-attachment.php:243

BP_Attachment::sanitize_utf8_filename()

Helper to convert utf-8 characters in filenames to their ASCII equivalent.

Source: bp-core/classes/class-bp-attachment.php:288

BP_Attachment::validate_mime_types()

Validate the allowed mime types using WordPress allowed mime types.

Source: bp-core/classes/class-bp-attachment.php:321

BP_Attachment::validate_upload()

Specific upload rules.

Source: bp-core/classes/class-bp-attachment.php:350

BP_Attachment::upload_dir_filter()

Default filter to save the attachments.

Source: bp-core/classes/class-bp-attachment.php:375

bp_attachment_upload_dir

Filters the component’s upload directory.

Source: bp-core/classes/class-bp-attachment.php:386