Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BBP_User_Engagements_User::cache_delete( string $meta_key = '', int $object_id )
Delete the user engagement cache for a given meta key and object ID.
Description Description
This method exists to provide backwards compatibility with bbPress 2.5, which had caching surrounding the FIND_IN_SET queries in usermeta.
Parameters Parameters
- $meta_key
-
(Optional)
Default value: ''
- $object_id
-
(Required)
Return Return
(mixed) Results from cache delete
Source Source
File: includes/common/engagements.php
private function cache_delete( $meta_key = '', $object_id = 0 ) { $cache_key = $this->get_cache_key( $meta_key, $object_id ); return wp_cache_delete( $cache_key, 'bbpress_engagements' ); }
Changelog Changelog
Version | Description |
---|---|
2.6.3 | Introduced. |