File: bp-core/bp-core-attachments.php |
Description |
---|---|
bp_attachments_get_plupload_l10n() |
Builds localization strings for the BuddyPress Uploader scripts. |
bp_attachments_enqueue_scripts() |
Enqueues the script needed for the Uploader UI. |
bp_attachments_pre_delete_file |
Filters whether or not to handle deleting an existing BuddyPress attachment. |
bp_attachments_cover_image_upload_dir |
Filters the cover photo upload directory. |
bp_attachments_get_max_upload_file_size() |
Get the max upload file size for any attachment. |
bp_attachments_get_max_upload_file_size |
Filter here to edit the max upload file size. |
bp_attachments_get_allowed_types() |
Get allowed types for any attachment. |
bp_attachments_get_allowed_types |
Filter here to edit the allowed extensions by attachment type. |
bp_attachments_get_allowed_mimes() |
Get allowed attachment mime types. |
bp_attachments_check_filetype() |
Check the uploaded attachment type is allowed. |