bp_document_clear_cache_for_deleted_document( array $deleted_ids )

Clear cached data for deleted document items.

Description

Parameters

$deleted_ids

(Required) IDs of deleted document items.

Source

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

function bp_document_clear_cache_for_deleted_document( $deleted_ids ) {
	foreach ( (array) $deleted_ids as $deleted_id ) {
		wp_cache_delete( $deleted_id, 'bp_document' );
	}
}

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.