bp_activity_follow_delete_object_cache( object $follow )

Clear cached data for follow object.

Description

Parameters

$follow

(object) (Required) Follow object.

Source

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

function bp_activity_follow_delete_object_cache( $follow ) {
	if ( ! empty( $follow->id ) ) {
		wp_cache_delete( $follow->id, 'bp_activity_follow' );
	}
}

Changelog

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