File: bp-core/bp-core-attachments.php
Description
bp_attachments_avatar_nav

Use this filter to add a navigation to a custom tool to set the object’s avatar.

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

bp_attachments_enqueue_scripts

Fires at the conclusion of bp_attachments_enqueue_scripts() to avoid the scripts to be loaded more than once.

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

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_json_response()

Send a JSON response back to an Ajax upload request.

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

bp_attachments_get_template_part()

Get an Attachment template part.

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

bp_attachments_get_cover_image_settings()

Get the cover photo settings

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

bp_attachments_get_cover_image_dimensions()

Get cover photo Width and Height.

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

bp_attachments_get_cover_image_dimensions

Filter here to edit the cover photo dimensions if needed.

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

bp_attachments_cover_image_is_edit()

Are we on a page to edit a cover photo?

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