File: bp-core/classes/class-bp-attachment.php
Description
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

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