@since: BuddyPress 2.3.0
Description
BP_Attachment::upload()

Upload the attachment.

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

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

BP_Attachment::create_dir()

Create the custom base directory for the component uploads.

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

BP_Attachment::crop()

Crop an image file.

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

BP_Attachment::script_data()

Build script datas for the Uploader UI.

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

BP_Attachment

BP Attachment class.

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

BP_Attachment::__construct()

Construct Upload parameters.

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