bp_media_clear_cache_for_deleted_media( array $deleted_ids )

Clear cached data for deleted media items.

Description

Parameters

$deleted_ids

(Required) IDs of deleted media items.

Source

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

function bp_media_clear_cache_for_deleted_media( $deleted_id ) {
	wp_cache_delete( $deleted_id, 'bp_media' );
}

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.