apply_filters( 'bp_media_add_handler', array $media_ids, array $medias )

Fires at the end of the execution of adding saving a media item, before returning the new media items in ajax response.

Description

Parameters

$media_ids

(array) Media IDs.

$medias

(array) Array of media from POST object or in function parameter.

Source

File: bp-media/bp-media-functions.php

Changelog

Changelog
Version Description
BuddyBoss 1.2.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.