bp_activity_clear_cache_for_deleted_activity( array $deleted_ids )

Clear cached data for deleted activity items.

Parameters Parameters


(array) (Required) IDs of deleted activity items.

Source Source

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

function bp_activity_clear_cache_for_deleted_activity( $deleted_ids ) {
	foreach ( (array) $deleted_ids as $deleted_id ) {
		wp_cache_delete( $deleted_id, 'bp_activity' );

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.