apply_filters( 'bp_attachments_cover_image_upload_dir', array $value, array $upload_dir )

Filters the cover photo upload directory.

Description

Parameters

$value

(array) Array containing the path, URL, and other helpful settings.

$upload_dir

(array) The original Uploads dir.

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.