File: bp-core/classes/class-bp-attachment-cover-image.php
Description
BP_Attachment_Cover_Image

BP Attachment Cover Photo class.

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

BP_Attachment_Cover_Image::__construct()

The constuctor.

Source: bp-core/classes/class-bp-attachment-cover-image.php:25

BP_Attachment_Cover_Image::get_cover_image_types()

Gets the available cover photo types.

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

BP_Attachment_Cover_Image::validate_upload()

cover photo specific rules.

Source: bp-core/classes/class-bp-attachment-cover-image.php:72

BP_Attachment_Cover_Image::upload_dir_filter()

Set the directory when uploading a file.

Source: bp-core/classes/class-bp-attachment-cover-image.php:99

BP_Attachment_Cover_Image::fit()

Adjust the cover photo to fit with advised width & height.

Source: bp-core/classes/class-bp-attachment-cover-image.php:112

BP_Attachment_Cover_Image::generate_filename()

Generate a filename for the cover photo.

Source: bp-core/classes/class-bp-attachment-cover-image.php:197

BP_Attachment_Cover_Image::script_data()

Build script datas for the Uploader UI.

Source: bp-core/classes/class-bp-attachment-cover-image.php:216

bp_attachment_cover_image_params

Filters the cover photo params to include specific BuddyPress params for your object.

Source: bp-core/classes/class-bp-attachment-cover-image.php:266

bp_attachments_cover_image_script_data

Filters the cover photo script data.

Source: bp-core/classes/class-bp-attachment-cover-image.php:280