do_action( 'bp_document_add', object $document )

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

Description

Parameters

$document

(object) document object.

Source

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

Changelog

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