bp_media_clear_cache_for_deleted_album( array $deleted_ids )

Clear cached data for deleted album items.

Description

Parameters

$deleted_ids

(Required) IDs of deleted album items.

Source

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

function bp_media_clear_cache_for_deleted_album( $deleted_id ) {
	wp_cache_delete( $deleted_id, 'bp_media_album' );
}

Changelog

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