File: bp-core/bp-core-attachments.php
Description
bp_attachments_current_user_can()

Check the current user’s capability to edit an avatar for a given object.

Source: bp-core/bp-core-attachments.php:951

bp_attachments_current_user_can

Needed avatar arguments are set.

Source: bp-core/bp-core-attachments.php:983

bp_attachments_pre_delete_file

Filters whether or not to handle deleting an existing BuddyPress attachment.

Source: bp-core/bp-core-attachments.php:587

bp_attachments_get_allowed_types

Filter here to edit the allowed extensions by attachment type.

Source: bp-core/bp-core-attachments.php:237

bp_attachments_get_allowed_mimes()

Get allowed attachment mime types.

Source: bp-core/bp-core-attachments.php:249

bp_attachments_check_filetype()

Check the uploaded attachment type is allowed.

Source: bp-core/bp-core-attachments.php:278

bp_attachments_create_item_type()

Use the absolute path to an image to set an attachment type for a given item.

Source: bp-core/bp-core-attachments.php:306

bp_attachments_get_attachment()

Get the url or the path for a type of attachment.

Source: bp-core/bp-core-attachments.php:474

bp_attachments_pre_get_attachment

Filters whether or not to handle fetching a BuddyPress image attachment.

Source: bp-core/bp-core-attachments.php:505

bp_attachments_delete_file()

Delete an attachment for the given arguments

Source: bp-core/bp-core-attachments.php:574