bp_document_clear_cache_for_deleted_folder( array $deleted_ids )

Clear cached data for deleted folder items.

Description

Parameters

$deleted_ids

(Required) IDs of deleted folder items.

Source

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

function bp_document_clear_cache_for_deleted_folder( $deleted_ids ) {
	foreach ( (array) $deleted_ids as $deleted_id ) {
		wp_cache_delete( $deleted_id, 'bp_document_folder' );
	}
}

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.