do_action( 'bp_media_add', object $media )

Fires at the end of the execution of adding a new media item, before returning the new media item ID.

Description

Parameters

$media

Media object.

Source

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

Changelog

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