@since: BuddyPress 2.3.0
Description
BP_Attachment_Avatar

BP Attachment Avatar class.

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

BP_Attachment_Avatar::__construct()

Construct Upload parameters.

Source: bp-core/classes/class-bp-attachment-avatar.php:28

BP_Attachment_Avatar::get_avatar_types()

Gets the available avatar types.

Source: bp-core/classes/class-bp-attachment-avatar.php:55

BP_Attachment_Avatar::set_upload_dir()

Set Upload Dir data for avatars.

Source: bp-core/classes/class-bp-attachment-avatar.php:66

BP_Attachment_Avatar::validate_upload()

Avatar specific rules.

Source: bp-core/classes/class-bp-attachment-avatar.php:87

BP_Attachment_Avatar::shrink()

Maybe shrink the attachment to fit maximum allowed width.

Source: bp-core/classes/class-bp-attachment-avatar.php:116

BP_Attachment_Avatar::is_too_small()

Check if the image dimensions are smaller than full avatar dimensions.

Source: bp-core/classes/class-bp-attachment-avatar.php:179

bp_core_avatar_scripts()

Enqueues the css and js required by the Avatar UI.

Source: bp-core/bp-core-cssjs.php:394

bp_upload_dir()

Set data from the BP root blog’s upload directory.

Source: bp-core/bp-core-functions.php:3103

bp_get_referer_path()

Return the URL path of the referring page.

Source: bp-core/bp-core-functions.php:1054