apply_filters( 'bp_attachments_get_cover_image_dimensions', array $wh, array $settings, string $compnent )

Filter here to edit the cover photo dimensions if needed.

Description

Parameters

$wh

(array) An associative array containing the width and height values.

$settings

(array) An associative array containing all the feature settings.

$compnent

(string) The requested component.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.4.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.