apply_filters( 'bp_attachments_get_image_data', array $image_data )

Filter here to add/remove/edit data to the image full data

Description

Parameters

$image_data

(array) An associate array containing the width, height and metadatas.

Source

File: bp-core/classes/class-bp-attachment.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.